diff options
| author | quentin@aristote.fr <quentin@aristote.fr> | 2023-08-03 14:37:31 +0200 |
|---|---|---|
| committer | quentin@aristote.fr <quentin@aristote.fr> | 2023-08-03 14:37:31 +0200 |
| commit | 61a94b8b503282bcc3a8f841a3ca24585affa62e (patch) | |
| tree | ef7bc64dd5756ddc43fcfc83d936c7dccd1b3c50 /modules/home-manager/personal | |
| parent | 8887c7c81eedacd6caa88a45a87349e857cc3652 (diff) | |
home: firefox: fix TST colors
Diffstat (limited to 'modules/home-manager/personal')
| -rw-r--r-- | modules/home-manager/personal/programs/firefox/userchrome/treestyletabs-colors.css | 27 |
1 files changed, 9 insertions, 18 deletions
diff --git a/modules/home-manager/personal/programs/firefox/userchrome/treestyletabs-colors.css b/modules/home-manager/personal/programs/firefox/userchrome/treestyletabs-colors.css index 9a41f9d..ad51202 100644 --- a/modules/home-manager/personal/programs/firefox/userchrome/treestyletabs-colors.css +++ b/modules/home-manager/personal/programs/firefox/userchrome/treestyletabs-colors.css @@ -1,21 +1,12 @@ /* Not working. Paste this inside TST's extra CSS rules. */ @-moz-document regexp("moz-extension://.+/sidebar/sidebar.html.*") { - /* Apply system-wide theme */ - :root { - --toolbar-non-lwt-bgcolor: rgba( {{base00-rgb-r}}, {{base00-rgb-g}}, {{base00-rgb-b}}, 0% ); - --toolbar-non-lwt-textcolor: rgba( {{base05-rgb-r}}, {{base05-rgb-g}}, {{base05-rgb-b}}, 100% ); - } - :root[color-scheme="system-color"][data-user-agent*="Linux"] - tab-item:not(.active):not(.bundled-active):not(.highlighted), - :root[color-scheme="system-color"][data-user-agent*="Linux"] - .after-tabs button, - :root[color-scheme="system-color"][data-user-agent*="Linux"] - .after-tabs [role="button"], - :root[color-scheme="system-color"][data-user-agent*="Linux"] - #subpanel-selector-anchor, - :root[color-scheme="system-color"][data-user-agent*="Linux"] - #background { - --toolbar-non-lwt-bgcolor: rgba( {{base00-rgb-r}}, {{base00-rgb-g}}, {{base00-rgb-b}}, 100% ); - --toolbar-non-lwt-textcolor: rgba( {{base05-rgb-r}}, {{base05-rgb-g}}, {{base05-rgb-b}}, 100% ); - } +/* Apply system-wide theme */ +:root { + --tab-surface-active: rgb( {{base02-rgb-r}}, {{base02-rgb-g}}, {{base02-rgb-b}}, 50%); + --tab-text-active: {{base05-hex}}; + --tab-surface-regular: {{base00-hex}}; + --tab-text-regular: {{base05-hex}}; + --tab-surface-hover: rgb( {{base02-rgb-r}}, {{base02-rgb-g}}, {{base02-rgb-b}}, 50%); + --tab-surface-active-hover: rgb( {{base02-rgb-r}}, {{base02-rgb-g}}, {{base02-rgb-b}}, 50%); +} } |
