diff options
| author | Robert Günzler <r@gnzler.io> | 2026-09-27 17:38:39 +0200 |
|---|---|---|
| committer | Robert Günzler <r@gnzler.io> | 2026-09-27 17:38:39 +0200 |
| commit | 0860db73ae6fd9a6f6347219d820bf026a6b8b91 (patch) | |
| tree | 11318c3670d1c32c5aa0bf404c22fba3bf63fc53 /.librewolf/hibiki.default/chrome/userContent.css | |
| parent | 4e34cbf9673aeaba252e01df554a0d204e83c5e2 (diff) | |
| download | dotfiles-master.tar.gz | |
Automated-commit-by: dots Signed-off-by: Robert Günzler <r@gnzler.io>
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); + } + } +} |