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:
parent
34cca8349b
commit
b4774c4b98
@ -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%;
|
||||||
|
Loading…
Reference in New Issue
Block a user