mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 05:23:35 +00:00
left_sidebar: Display dark-mode condensed unreads without alpha.
This commit is contained in:
@@ -534,6 +534,7 @@ li.active-sub-filter {
|
||||
.unread_count {
|
||||
top: -6px;
|
||||
right: -6px;
|
||||
background: var(--color-background-unread-counter-no-alpha);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -395,6 +395,18 @@ body {
|
||||
--color-border-dropdown-menu: hsl(0deg 0% 0%);
|
||||
--color-border-personal-menu-avatar: hsl(0deg 0% 100% / 20%);
|
||||
--color-background-unread-counter: hsl(105deg 2% 50% / 50%);
|
||||
/* When unreads are hovered on the condensed
|
||||
views, they should not have an alpha.
|
||||
|
||||
The second color aligns with dark mode's
|
||||
--color-background. We use the value
|
||||
directly so that this gets compiled down to
|
||||
an rgb() value by PostCSS Preset Env. */
|
||||
--color-background-unread-counter-no-alpha: color-mix(
|
||||
in srgb,
|
||||
hsl(105deg 2% 50%) 50%,
|
||||
hsl(0deg 0% 11%)
|
||||
);
|
||||
--color-background-unread-counter-dot: hsl(105deg 2% 50% / 90%);
|
||||
--color-background-unread-counter-popover-menu: hsl(105deg 2% 50% / 50%);
|
||||
--color-border-unread-counter: hsl(105deg 2% 50%);
|
||||
|
||||
Reference in New Issue
Block a user