From 2c8c06748ba80debcdfa78e0020049f193d5ffc5 Mon Sep 17 00:00:00 2001 From: Robert Günzler Date: Thu, 24 Nov 2022 21:12:31 +0100 Subject: firefox: prevent flashbang --- .mozilla/firefox/hibiki.default/chrome/userContent.css | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to '.mozilla/firefox/hibiki.default/chrome/userContent.css') diff --git a/.mozilla/firefox/hibiki.default/chrome/userContent.css b/.mozilla/firefox/hibiki.default/chrome/userContent.css index f3b4e6a..34d1bb6 100644 --- a/.mozilla/firefox/hibiki.default/chrome/userContent.css +++ b/.mozilla/firefox/hibiki.default/chrome/userContent.css @@ -6,17 +6,16 @@ @see: https://github.com/tridactyl/tridactyl/issues/2510 */ :root { - --tridactyl-bg: #2a2a2e !important; - --tridactyl-fg: #b1b1b3 !important; + --toolbar-bgcolor: #040405 !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) { +@-moz-document url("about:home"), url("about:newtab"), url("about:blank") { @media (prefers-color-scheme: dark) { body { - background: #1d1b19; + background: var(--toolbar-bgcolor); } } } -- cgit 1.4.1