-
Maybe I'm overthinking it, but I was trying to decide how to mimic functionality of the color operations from less, for example: http://lesscss.org/functions/#color-operations-lighten My goal was to add as little css as possible to my component library, so I've been writing the basic button states like If I were to define a Edit: This looks like it would work if I were to redefine components using Love the project btw, working on a component library prototype for my company as part of a new design system. I liked the look of rebass, saw the lack of activity, then found this! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 21 replies
-
You're in luck! We've got a package just for that, with nearly exactly that API: https://theme-ui.com/packages/color |
Beta Was this translation helpful? Give feedback.
You're in luck! We've got a package just for that, with nearly exactly that API: https://theme-ui.com/packages/color