User tests: Successful: Unsuccessful:
Refactor the code so:
color(colorspace val1 val2 val3 / alpha)
). This requires setting the format to ""
. All color values are validated client sidePaste this:
<field
name="blabla"
type="color"
control="simple"
format=""
colors="#000000,rgb(59% 4.79% 75.2% / 0.8),oklch(87% 0.293 207),oklab(79% -0.261 0.088),color(display-p3 0.83 0.19 0.73 / 0.96),#FF0000,lch(56 90.2 154 / 0.88),none"
default=""
label="color"
/>
in the templateDetails.xml
of the Atum template (after line 51: <fieldset name="colors" label="TPL_ATUM_COLORS_SETTINGS_LABEL">
)
Check that the field:
Please select:
Documentation link for docs.joomla.org:
No documentation changes for docs.joomla.org needed
Pull Request link for manual.joomla.org:
No documentation changes for manual.joomla.org needed
JFIELD_COLOR_SELECT="Select a colour"
JFIELD_COLOR_TRANSPARENT="No colour, transparent"
JFIELD_COLOR_VALUE="Colour with hexadecimal value of"
Status | New | ⇒ | Pending |
Category | ⇒ | Administration Language & Strings Repository NPM Change JavaScript Layout |
Labels |
Added:
Language Change
NPM Resource Changed
PR-6.0-dev
|
Category | Administration Language & Strings Repository NPM Change JavaScript Layout | ⇒ | Repository NPM Change JavaScript Layout |
Labels |
Removed:
Language Change
|
Opening the color picker shifts up the Choose your hue... label slightly.
What's your browser?
Windows Firefox 124.0. It is not an issue with Chrome.
Category | Repository NPM Change JavaScript Layout | ⇒ | Administration Language & Strings Repository NPM Change JavaScript Layout |
Labels |
Added:
Language Change
|
I'm surely interested, but not involved anymore in 6.0.
Status | Pending | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2024-05-17 12:23:34 |
Closed_By | ⇒ | dgrammatiko | |
Labels |
Added:
Feature
|
Ok, I might reopen this when there's a RM for 6
There's interest here! Were you thinking about any other fields?
All the interactive ones.
My POV is to remove the hard dependency on
Also make them true Web Component Form Fields, ie browser validation ootb, etc...
Opening the color picker shifts up the
Choose your hue...
label slightly.