Semantic-UI
Semantic-UI copied to clipboard
Dark theme
Hello
Can you please add Dark theming support for the Semantic-UI?
Check out the .inverted
css class. Most of elements have an 'inverted' version of them which works with dark themes.
I think something like @media (prefers-color-scheme: dark) { change color vars to some other value }
would be amazing!
Adding my support for this feature. Native dark mode support would be huge.
The community fork Fomantic-UI suggested a simple approach by using a separate Dark Theme bound as media query: https://github.com/fomantic/Fomantic-UI/discussions/1022#discussioncomment-92727 It also got a PR for a Dark Theme at https://github.com/fomantic/Fomantic-UI/pull/1436 However that was unfortunately not completed but was a good start.
Found a neat workaround until something major happens in the lib.
You can use darkreader to enable darkmode on your site!
Worked pretty neat with converting a semantic ui site to support dark mode. Bonus: you get to play with params like brightness/contrast/sepia to figure out what works best.