Skip to content

Commit

Permalink
messagebox: Update background-color for mentions.
Browse files Browse the repository at this point in the history
This is part of zulip#22059.
  • Loading branch information
evykassirer authored and timabbott committed Apr 29, 2023
1 parent 56c5c89 commit 199afbe
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions web/styles/zulip.css
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ body,
--color-message-header-icon-non-interactive: hsl(0deg 0% 0% / 30%);
--color-message-header-icon-interactive: hsl(0deg 0% 0%);
--color-background: hsl(0deg 0% 100%);
--color-background-mention: hsl(8deg 94% 94%);
--color-background-direct-mention: hsl(240deg 52% 95%);
--color-background-group-mention: hsl(180deg 40% 94%);
}

%dark-theme {
Expand All @@ -80,7 +81,8 @@ body,
--color-message-header-icon-interactive: hsl(0deg 0% 100%);
--color-message-list-border: hsl(0deg 0% 7%);
--color-background: hsl(212deg 28% 18%);
--color-background-mention: hsl(8deg 78% 43% / 15%);
--color-background-direct-mention: hsl(240deg 13% 20%);
--color-background-group-mention: hsl(180deg 13% 15%);
}

:root.dark-theme {
Expand Down Expand Up @@ -1564,9 +1566,12 @@ div.message_table {
border-left: 1px solid var(--color-message-list-border);
border-right: 1px solid var(--color-message-list-border);

&.group_mention,
&.group_mention {
background-color: var(--color-background-group-mention);
}

&.direct_mention {
background-color: var(--color-background-mention);
background-color: var(--color-background-direct-mention);
}

.date_row {
Expand Down

0 comments on commit 199afbe

Please sign in to comment.