Color Field with fixed/static Color-Selection #15107
Unanswered
alexanderbuergin
asked this question in
Ideas
Replies: 1 comment
-
There is color swatches plugin right now that handles that. But i think it should be build-in into craft of at least made first party plugin. I wrote about it some time ago: @brandonkelly |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It would be beneficial to add an option in the color picker field that allows only predefined colors to be selected, instead of allowing any arbitrary hex value. This could be implemented as a dropdown list with the available colors. This feature would enhance consistency and user-friendliness by limiting the selection to a set color palette.
Example:
Instead of entering any arbitrary hex format, the user can only choose from the following colors:
Benefits:
Implementation:
A possible implementation could include an additional option in the configuration menu where the predefined colors can be set. The color picker field would then display a dropdown menu from which the user can select the desired color.
Current Options:
Possible implementation:
Add a light switch:
Beta Was this translation helpful? Give feedback.
All reactions