1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-07 03:12:33 +01:00

Make browser use dark theme built-in widget in dark theme

Related discussion:
- https://github.com/uBlockOrigin/uBlock-issues/discussions/1963#discussioncomment-2120312
This commit is contained in:
Raymond Hill 2022-03-19 12:43:26 -04:00
parent 34cca8349b
commit b4774c4b98
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

@ -299,6 +299,8 @@
/* https://material.io/design/color/dark-theme.html */ /* https://material.io/design/color/dark-theme.html */
:root.dark { :root.dark {
color-scheme: dark;
--elevation-down-surface: black; --elevation-down-surface: black;
--elevation-down1-opacity: 16%; --elevation-down1-opacity: 16%;
--elevation-down2-opacity: 32%; --elevation-down2-opacity: 32%;