Closed m1ga closed 2 years ago
What does this exactly fix?
The CSS code was wrong before and didn't do anything because :root was missing for the media query.
So if you visited the page for the very first time and your browser/system was using dark mode it didn't use the dark mode for the page. You had to switch in on to use the "dark" class on the body to make it work.
fix for dark colors if you visit the page for the first time and browse in dark mode