Project

General

Profile

Actions

Feature #98294

closed

Allow text in color picker input field

Added by Roman Büchler almost 2 years ago. Updated 27 days ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
DataHandler aka TCEmain
Start date:
2022-09-08
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

The use case is to define a color either with the mouse selecting a color in a color panel (as it is now available with the color picker) or to define the color by a string that could be a scss constant or function.

The current functionality would need to be altered in a way that users can enter any text into the field too. Currently any text entered to the field is cleared upon the field loosing the focus.


Related issues 1 (1 open0 closed)

Related to TYPO3 Core - Feature #103994: EXT:styleguide should showcase colorPalette pickerUnder ReviewGarvin Hicking2024-06-07

Actions
Actions #1

Updated by Benni Mack over 1 year ago

  • Target version changed from 12 LTS to Candidate for Major Version
Actions #2

Updated by Riccardo De Contardi 3 months ago · Edited

I honestly think I'd prefer the possibility to define default colors in the color picker

Some UI examples:

https://www.lightningdesignsystem.com/components/color-picker/

https://clayui.com/docs/components/color-picker/markup.html

Actions #3

Updated by Christian Kuhn about 1 month ago

  • Related to Feature #103994: EXT:styleguide should showcase colorPalette picker added
Actions #4

Updated by Georg Ringer 27 days ago

  • Status changed from New to Closed

Hey Roman,

I am rejecting this feature for the core. In projects we do in the agency we sometimes do a color selector based on a select element or so but we also have the frontend + build pipeline under control. In the core, there is no such thing as a real frontend and therefore also no variables which might be used.

Actions

Also available in: Atom PDF