Skip to content

Commit 1a3a8a0

Browse files
committed
feat: Fixed toast notifications contrasting, b=no-bug, c=common
1 parent f80fe99 commit 1a3a8a0

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

src/zen/common/styles/zen-popup.css

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -398,8 +398,9 @@ menuseparator {
398398
min-width: unset !important;
399399
margin: 0px !important;
400400
border-radius: calc(var(--zen-native-inner-radius) + 2px) !important;
401-
background: light-dark(rgba(255, 255, 255, 0.1), rgba(0, 0, 0, 0.1)) !important;
402-
border: 1px solid light-dark(rgba(255, 255, 255, 0.15), rgba(0, 0, 0, 0.15)) !important;
401+
background: light-dark(rgba(0, 0, 0, 0.1), rgba(255, 255, 255, 0.1)) !important;
402+
border: 1px solid light-dark(rgba(0, 0, 0, 0.15), rgba(255, 255, 255, 0.15)) !important;
403+
color: light-dark(rgba(0, 0, 0, 0.8), rgba(255, 255, 255, 0.8)) !important;
403404

404405
:root[zen-right-side='true'] & {
405406
order: -1;

src/zen/common/styles/zen-theme.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,6 @@
142142
--toolbox-textcolor-inactive: var(--toolbox-textcolor) !important;
143143

144144
/* Other colors */
145-
--urlbar-box-bgcolor: var(--zen-urlbar-background) !important;
146145
--urlbar-box-active-bgcolor: var(--toolbarbutton-hover-background) !important;
147146
--toolbar-field-focus-background-color: var(--urlbar-box-bgcolor) !important;
148147
--zen-input-border-color: light-dark(rgb(204, 204, 204), rgb(66, 65, 77));
@@ -246,7 +245,8 @@
246245
& menupopup,
247246
& #zen-browser-background,
248247
& #urlbar[breakout-extend='true'],
249-
& #tabbrowser-tabpanels browser[type='content'] {
248+
& #tabbrowser-tabpanels browser[type='content'],
249+
&:not([zen-should-be-dark-mode]) #zen-toast-container {
250250
@media -moz-pref('zen.view.window.scheme', 0) {
251251
color-scheme: dark;
252252
}

0 commit comments

Comments
 (0)