]> git.sev.monster Git - dotfiles.git/commitdiff
librewolf: update userContent to use new variables
authorsev <git@sev.monster>
Fri, 5 Apr 2024 19:48:49 +0000 (14:48 -0500)
committersev <git@sev.monster>
Fri, 5 Apr 2024 21:27:41 +0000 (16:27 -0500)
librewolf/chrome/userContent.css

index 8109127bb7bf11270915de5f94568486af9485b1..5e3a3ed357430f96bf6bf2c0691f30f14476b993 100644 (file)
@@ -1,13 +1,16 @@
 @-moz-document url-prefix(about:newtab) {
   :root {
-    --sm-background-color: rgb(255, 255, 255, 0.8);
+    --sm-panel-bg-filter: blur(25px);
+    --sm-panel-bg-color-rgb: 25, 23, 20;
+    --sm-panel-bg-color-alpha: 0.8;
+    --sm-panel-bg-color: rgb(var(--sm-panel-bg-color-rgb), var(--sm-panel-bg-color-alpha));
   }
   :root[lwt-newtab-brighttext] {
-    --sm-background-color: rgb(23, 23, 23, 0.8);
+    --sm-panel-bg-color-rgb: 230, 225, 220;
   }
 
   .non-collapsible-section, .discovery-stream.ds-layout {
-    background-color: var(--sm-background-color);
+    background-color: var(--sm-panel-bg-color);
     backdrop-filter: blur(25px);
     border-radius: 4px;
     margin: 10px auto !important;
This page took 0.048251 seconds and 4 git commands to generate.