How to handle contrast colors? #2476
Unanswered
oliveryasuna
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Say I have the following colors:
Is there a smart way to handle contrast color for
primary?I thought to just make
primaryan object:Now I have to reference it in
sxwithprimary.mainandprimary.contrast. This seems messy. Maybe there is a way to makeprimaryreference#c33991andprimary.contrastreference#fff?Beta Was this translation helpful? Give feedback.
All reactions