Fixed dark mode for toolbar and settings page (#14)

This commit is contained in:
Mauro Balades
2024-04-21 14:33:24 +02:00
parent 43e5b07bf4
commit 1c3a3300f9
2 changed files with 3 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
:root {
--zen-settings-secondary-background: #F2F4F4;
--zen-settings-secondary-background: light-dark(#F2F4F4, color-mix(in srgb, var(--zen-primary-color) 10%, black 90%));
}
.main-content {
@@ -10,7 +10,7 @@
}
groupbox {
background: light-dark(white, #363636);
background: light-dark(white, color-mix(in srgb, var(--zen-primary-color) 10%, #1b1b1b 90%));
padding-inline: unset !important;
padding: 20px 30px !important;
margin-bottom: 0 !important;

View File

@@ -26,7 +26,7 @@
@media not (-moz-bool-pref: "zen.theme.toolbar-themed") {
:root {
--toolbar-bgcolor: light-dark(white, rgb(66, 65, 77)) !important;
--toolbar-bgcolor: light-dark(white, #1b1b1b) !important;
}
}