Replies: 4 comments
-
Add hue & saturation modifiersMentioned in #1647
|
Beta Was this translation helpful? Give feedback.
-
Allow negative values in amountFrom Slack:
|
Beta Was this translation helpful? Give feedback.
-
It would be great to see Google's new HCT system implemented as a modifier: In our product, we need to be able to generate palettes from user entered colors. We wanted to achieve a logic as close to as demonstrated here as possible: https://accessiblepalette.com. We also wanted to mirror the HCT structure of 0 being absolutely no light (i.e. black) and 100 being absolute light (i.e. white). We found a nice solution Token Studio, using the lighten / darken color modifiers in the "SRGB" space. While "LCH" provided better ranges, we found it shifted colors too much. For example, blues became to purpley. This would not be acceptable by our customers, who want all colors in the UI to match their brand color closely. We made "50" our source color, and lightened / darkened using these scales:
We're happy with this result, as its working well with a lot of different source colors. However, they are not as good as the palettes created using HCT, which produces nicer, more accurate ranges without shifting color spaces too much. Consequently, we'd love to see HCT as a color modifier option. There are a couple of considerations if implementing:
|
Beta Was this translation helpful? Give feedback.
-
Idk if this a bug, or expected, but when renaming tokens, modifiers values are not updated. |
Beta Was this translation helpful? Give feedback.
-
👋 Hey everyone!
We've recently launched Color modifiers and we'd love your input! I'll use this discussion to collect any feedback we encounter to provide information about next steps.
Beta Was this translation helpful? Give feedback.
All reactions