Skip to content

Commit

Permalink
chore: opt out of auto dark theme
Browse files Browse the repository at this point in the history
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
  • Loading branch information
uhthomas committed Oct 9, 2023
1 parent 3c11e46 commit a42c277
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<meta charset="utf-8" />
<title>Hubble UI</title>
<base href="/" />
<meta name="color-scheme" content="only light">
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta
name="viewport"
Expand Down

0 comments on commit a42c277

Please sign in to comment.