How to handle dark mode? #181
Unanswered
robchandhok
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
-
Love this utility!
I did run into an issue where I made the buttons a light gray background, and then had a terrible result when my tablet went into dark mode at night....so I went on a chase to find out how to test for it, and never figured it out. I think it's my limited CSS knowledge - I didn't know how to set the button background color...
I used the example, and so the hover was successfully set to red, but the second bit did nothing.
In the end, I just removed the background color and let it inherit from the theme, but I'd still like to understand if/how to use the
@media
key.Thanks!
Beta Was this translation helpful? Give feedback.
All reactions