Class for automatic light/dark mode contrast color #3012
JohanAR
started this conversation in
Ideas / Feature Requests
Replies: 1 comment 3 replies
-
Hi @JohanAR, how would you use such a class? Can you sketch an API? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
A lot of elements automatically switch to a contrasting colour, i.e. white on dark mode and black for light. It would be nice if there was a pre-made class which I could use to get the same behaviour, e.g. on a flat button.
Beta Was this translation helpful? Give feedback.
All reactions