Closed sklirg closed 1 year ago
How does this look with switches and such added? (can just use dummy switches or something)
Just like the existing dark mode :)
https://user-images.githubusercontent.com/5422571/227054600-fbaa2eeb-545c-43fb-80fe-8b2dca6bda81.mov
Uses the proposal here: https://drafts.csswg.org/mediaqueries-5/#descdef-media-prefers-color-scheme
Seems to be decently supported: https://caniuse.com/?search=prefers-color-scheme
Demo:
https://user-images.githubusercontent.com/5422571/227052155-2744a5ea-f785-4711-8194-4ca5387f3183.mov