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