xz / new.css

A classless CSS framework to write modern websites using only HTML.
https://newcss.net
MIT License
3.96k stars 128 forks source link

Any way to prevent it from popping to night mode? #28

Open bc opened 4 years ago

bc commented 4 years ago

thanks! theme is otherwise perfect.

3x commented 4 years ago

Custom themes for night mode will be added in 1.3.

Right now, all the night theme colors are hard-coded overrides of the :root variables, which was an oversight on my part. 1.2.0 will allow custom variables to be set for this, such as --nc-dark-bg-1.

Glench commented 4 years ago

yeah right now the dark mode theme seems like the default but wasn't when I visited the site a few days ago. Did this change or is my system somehow saying it's in dark mode all the time?

bc commented 4 years ago

On my mac running Catalina, it immediately follows the System Preference of dark mode/light mode without refreshing the page. image

Glench commented 4 years ago

Looks like my 'auto' appearance got screwed up. It shows the right colors when each theme is chosen. I wonder if maybe there could be an automatic fade when going into night mode