From 0860db73ae6fd9a6f6347219d820bf026a6b8b91 Mon Sep 17 00:00:00 2001 From: Robert Günzler Date: Sun, 27 Sep 2026 17:38:39 +0200 Subject: * MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Automated-commit-by: dots Signed-off-by: Robert Günzler --- .librewolf/hibiki.default/chrome/userContent.css | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .librewolf/hibiki.default/chrome/userContent.css (limited to '.librewolf/hibiki.default/chrome/userContent.css') 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); + } + } +} -- cgit 1.4.1