Replies: 2 comments 1 reply
-
Well maybe in the swatches and making you have a hex/hsla/rgba representation might be indeed possible, otherwise it wouldn't "work" as what is red? the string red is just a string, it could be anywhere in the picker itself. Do you think this is useful in what cases? as I can see mostly useful for a text input and that would already work. |
Beta Was this translation helpful? Give feedback.
-
I would like to use some already defined colors in the swatches but I don't know how to access the value. Sometimes it's also complex because there is a formula behind the color in the css. Tried something like:
|
Beta Was this translation helpful? Give feedback.
-
Besides Hex, HSLA and RGBA also add support for direct color names like
red
or from a css class likebg-gray-200
orbg-success
'.Something like
Similar how it's done with icons
<Icon name="uil:github" color="black" />
No idea if it's doable, but could be very convenient I think
Beta Was this translation helpful? Give feedback.
All reactions