From: sev Date: Fri, 5 Apr 2024 19:48:49 +0000 (-0500) Subject: librewolf: update userContent to use new variables X-Git-Url: https://git.sev.monster/~sev/dotfiles.git/commitdiff_plain/1d4335b635d8e1d6bc6cc037d0b7a8512d600e60 librewolf: update userContent to use new variables --- 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;