spring-io / antora-ui-spring

Mozilla Public License 2.0
15 stars 28 forks source link

UI defaults to dark mode regardles of OS settings #211

Closed philwebb closed 7 months ago

philwebb commented 7 months ago

matchMedia('(prefers-color-scheme: dark)') is used in a few of the templates but it returns a MediaQueryList so we should add an additional ?.matches to actually check the result.

I will update PR #206 with a fix.