style firefox pdf viewer and default body bg

This commit is contained in:
Kopatz
2025-09-01 19:29:21 +02:00
parent 44a43664da
commit 2c036d51d7

View File

@@ -1,5 +1,7 @@
{ pkgs, lib, osConfig, ... }: { pkgs, lib, osConfig, ... }:
let let
base16 = osConfig.stylix.base16Scheme;
merge = lib.foldr (a: b: a // b) { }; merge = lib.foldr (a: b: a // b) { };
search = { search = {
default = "ddg"; default = "ddg";
@@ -122,8 +124,18 @@ in
browser[type="content-primary"], browser[type="content-primary"],
browser[type="content"], browser[type="content"],
.browserContainer { .browserContainer {
background-color: #1a2121 !important; background-color: #${base16.base01} !important;
background: #1a2121 !important; background: #${base16.base01} !important;
}
'';
userContent = ''
body {
--body-bg-color: #${base16.base01};
background-color: #${base16.base01};
}
#toolbarContainer {
--toolbar-bg-color: #${base16.base01};
} }
''; '';
# Changes the extension storage backend from IDB to json, wipes all data when switching # Changes the extension storage backend from IDB to json, wipes all data when switching