Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UI defaults to dark mode regardles of OS settings #211

Closed
philwebb opened this issue Feb 22, 2024 · 0 comments
Closed

UI defaults to dark mode regardles of OS settings #211

philwebb opened this issue Feb 22, 2024 · 0 comments

Comments

@philwebb
Copy link
Contributor

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.

philwebb added a commit to philwebb/antora-ui-spring that referenced this issue Feb 22, 2024
philwebb added a commit to philwebb/antora-ui-spring that referenced this issue Feb 22, 2024
philwebb added a commit to philwebb/antora-ui-spring that referenced this issue Feb 22, 2024
philwebb added a commit to philwebb/antora-ui-spring that referenced this issue Feb 27, 2024
philwebb added a commit to philwebb/antora-ui-spring that referenced this issue Feb 27, 2024
philwebb added a commit to philwebb/antora-ui-spring that referenced this issue Feb 28, 2024
philwebb added a commit to philwebb/antora-ui-spring that referenced this issue Feb 28, 2024
philwebb added a commit to philwebb/antora-ui-spring that referenced this issue Mar 5, 2024
philwebb added a commit to philwebb/antora-ui-spring that referenced this issue Mar 5, 2024
oodamien pushed a commit that referenced this issue Mar 6, 2024
@oodamien oodamien closed this as completed Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants