Is there some thought for dark/light theme doesn't only by `dark:`
See original GitHub issueNow, not only unocss
but also wind
, tailwind
support dark mode only with dark
variant.
It means We should write more class name for supporting dark mode.
A better method for this that use color palette
(refer to mui: https://mui.com/material-ui/customization/dark-mode/#main-content):
We design two color tokens, and automaticly change those tokens with compute mode changed or by user manual.
unocss has any plans to implement this?
Issue Analytics
- State:
- Created a year ago
- Reactions:3
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Dark Mode vs. Light Mode: Which Is Better?
Dark-mode displays emit less light than light-mode ones (and, because of that, they might extend battery life). But the amount of light in...
Read more >Dark vs. Light theme: which is better? | by FunCorp | Medium
It is believed to reduce eye strain and is easier to work within low light ; Some people like it better. But, leaving...
Read more >Light Mode vs. Dark Mode: What is Better? | by Fireart Studio
To learn how a dark theme affects vision, you need to understand how the eye reacts to different colors. Colors that are too...
Read more >What Is Dark Mode – And Should You Be Using It? - Forbes
Dark mode is a display setting for user interfaces, such as a smartphone or laptop. ... black mode; dark theme; night mode; light-on-dark....
Read more >Dark UI themes are new and cool — but are they accessible?
However, it appears that not much thought has been given to dark mode ... Definitely true, but only helpful if a flicker issue...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@antfu
All right. In fact, I am not familiar with the development of uno preset. But I’d like to try it in my spare time.
Now I’ve made a preset that supports it