From 7c34241d80ea64dd2039bb3a786fb66b4c6261d9 Mon Sep 17 00:00:00 2001 From: Saad Nadeem <88615188+saadndm@users.noreply.github.com> Date: Sat, 21 Mar 2026 16:26:04 -0400 Subject: [PATCH] zen-browser: fix theming (#2237) Link: https://github.com/nix-community/stylix/pull/2237 Reviewed-by: Karun Sandhu <129101708+MrSom3body@users.noreply.github.com> Reviewed-by: 0xda157 (cherry picked from commit e31c79f571c5595a155f84b9d77ce53a84745494) --- flake/dev/flake.lock | 6 +++--- modules/zen-browser/userChrome.nix | 16 +++++++++++++++- 2 files changed, 18 insertions(+), 4 deletions(-) diff --git a/flake/dev/flake.lock b/flake/dev/flake.lock index 1656d9e1..ad4d91cf 100644 --- a/flake/dev/flake.lock +++ b/flake/dev/flake.lock @@ -318,11 +318,11 @@ ] }, "locked": { - "lastModified": 1767763594, - "narHash": "sha256-5ysv8EuVAgDoYmNuXEUNf7vBzdeRaFxeIlIndv5HMvs=", + "lastModified": 1773290887, + "narHash": "sha256-L1yMYmFffHfZNP+hKJGRBmrFKkn/VDhu7jEbVftBQuM=", "owner": "0xc000022070", "repo": "zen-browser-flake", - "rev": "8b2302d8c10369c9135552cc892da75cff5ddb03", + "rev": "9346698c4562819f61b4e5097151ec0b17729fab", "type": "github" }, "original": { diff --git a/modules/zen-browser/userChrome.nix b/modules/zen-browser/userChrome.nix index 7a719111..5f8f5329 100644 --- a/modules/zen-browser/userChrome.nix +++ b/modules/zen-browser/userChrome.nix @@ -24,12 +24,18 @@ with colors; --zen-themed-toolbar-bg: #${base00-hex} !important; --zen-main-browser-background: #${base00-hex} !important; --toolbox-bgcolor-inactive: #${base01-hex} !important; + --zen-themed-toolbar-bg-transparent: #${base01-hex} !important; } #permissions-granted-icon { color: #${base05-hex} !important; } + #historySwipeAnimationPreviousArrow,#historySwipeAnimationNextArrow { + --swipe-nav-icon-primary-color: #${base0D-hex} !important; + --swipe-nav-icon-accent-color: #${base00-hex} !important; + } + .sidebar-placesTree { background-color: #${base00-hex} !important; } @@ -125,7 +131,7 @@ with colors; --identity-icon-color: #${base0F-hex} !important; } - #navigator-toolbox { + #zen-toolbar-background { --zen-main-browser-background-toolbar: #${base00-hex} !important; } @@ -133,6 +139,14 @@ with colors; background-color: #${base00-hex} !important; } + #commonDialog { + background-color: #${base00-hex} !important; + } + + #zen-browser-background { + --zen-main-browser-background: #${base00-hex} !important; + } + #contentAreaContextMenu menu, menuitem, menupopup {