spring-io / spring-doc-resources

Asciidoctor theme for Spring reference documentations
https://spring.io/
Apache License 2.0
40 stars 20 forks source link

Support auto detection of dark mode #44

Open odrotbohm opened 4 years ago

odrotbohm commented 4 years ago

Websites like StackOverflow automatically detect the OS' light/dark mode setting and apply different stylesheets so that it effectively turns dark if you switch the OS to dark mode. I've recently started to use Night Owl to automatically switch my system to dark during evening and night hours. It's very nice to see websites adapt to that switch right away.

philwebb commented 3 years ago

The new https://github.com/spring-io/asciidoctor-spring-backends project has dark mode support. It should detect the initial setting based on user preferences.