From 1d4335b635d8e1d6bc6cc037d0b7a8512d600e60 Mon Sep 17 00:00:00 2001 From: sev Date: Fri, 5 Apr 2024 14:48:49 -0500 Subject: [PATCH] librewolf: update userContent to use new variables --- librewolf/chrome/userContent.css | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/librewolf/chrome/userContent.css b/librewolf/chrome/userContent.css index 8109127..5e3a3ed 100644 --- a/librewolf/chrome/userContent.css +++ b/librewolf/chrome/userContent.css @@ -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; -- 2.47.0