geist-ui
geist-ui copied to clipboard
CSS-controlled theming
Feature request 🚀
- [ ] I will create Pull Request
- [x] It's just a suggestion
Expected
Could we have CSS-based theming capabilities, so we don't have issues of a dark mode flash when using SSR and automatic dark mode? Is there a way to do this already so the theme colours aren't server rendered and are determined in browser by a theme-dark class or a theme-light class?
Examples
If I want to use the default dark mode, I'd add a theme-dark class to the body element. Else add a theme-light class