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

opt out of auto dark theme #664

Closed
uhthomas opened this issue Oct 9, 2023 · 0 comments · Fixed by #665
Closed

opt out of auto dark theme #664

uhthomas opened this issue Oct 9, 2023 · 0 comments · Fixed by #665

Comments

@uhthomas
Copy link
Contributor

uhthomas commented Oct 9, 2023

Browsers can automatically generate dark themes from light themes, but it often looks strange and Hubble is no exception. It may be worth opting out of automatic dark themes by explicitly declaring the theme as light.

<head>
<meta name="color-scheme" content="only light">
</head>

https://developer.chrome.com/blog/auto-dark-theme/#using-a-meta-tag

Screenshot from 2023-10-09 23-56-35

uhthomas added a commit to uhthomas/hubble-ui that referenced this issue Oct 9, 2023
Browsers can automatically generate dark themes from light themes, but it often
looks strange and Hubble is no exception. It's possible to opt out of automatic
dark themes by explicitly declaring the theme as light.

https://developer.chrome.com/blog/auto-dark-theme/#using-a-meta-tag

Fixes: cilium#664
geakstr pushed a commit that referenced this issue Oct 9, 2023
Browsers can automatically generate dark themes from light themes, but it often
looks strange and Hubble is no exception. It's possible to opt out of automatic
dark themes by explicitly declaring the theme as light.

https://developer.chrome.com/blog/auto-dark-theme/#using-a-meta-tag

Fixes: #664
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

Successfully merging a pull request may close this issue.

1 participant