diff options
Diffstat (limited to '')
| -rw-r--r-- | .librewolf/hibiki.default/chrome/userContent.css | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/.librewolf/hibiki.default/chrome/userContent.css b/.librewolf/hibiki.default/chrome/userContent.css new file mode 100644 index 0000000..eca26d7 --- /dev/null +++ b/.librewolf/hibiki.default/chrome/userContent.css @@ -0,0 +1,22 @@ + +@import url(lepton.userContent.css); +@import url(lorekernel.userContent.css); + +/* + dark background in new tabs without a white flash (with tridactyl newtab) + @see: https://github.com/tridactyl/tridactyl/issues/2510 +*/ +:root { + --toolbar-bgcolor: #040405 !important; +} + +/* + set the background color of the new tab page (without tridactyl or with tridactyl without newtab) +*/ +@-moz-document url("about:home"), url("about:newtab"), url("about:blank") { + @media (prefers-color-scheme: dark) { + body { + background: var(--toolbar-bgcolor); + } + } +} |