From d12aab5736cb35cd0c7d0853885736e9ebb489ad Mon Sep 17 00:00:00 2001 From: Robert Günzler Date: Mon, 21 Nov 2022 17:23:57 +0100 Subject: firefox: add complete profile dir and support librewolf --- .../firefox/hibiki.default/chrome/userContent.css | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .mozilla/firefox/hibiki.default/chrome/userContent.css (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 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; + } + } +} -- cgit 1.4.1