Skip to content

Commit

Permalink
Make browser use dark theme built-in widget in dark theme
Browse files Browse the repository at this point in the history
  • Loading branch information
gorhill committed Mar 19, 2022
1 parent 34cca83 commit b4774c4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/css/themes/default.css
Expand Up @@ -299,6 +299,8 @@

/* https://material.io/design/color/dark-theme.html */
:root.dark {
color-scheme: dark;

--elevation-down-surface: black;
--elevation-down1-opacity: 16%;
--elevation-down2-opacity: 32%;
Expand Down

0 comments on commit b4774c4

Please sign in to comment.