Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

recent_view: Use brand subtle colors for selected filter buttons.

Alya Abbott7a2f213f48c1
diff --git a/web/styles/app_variables.css b/web/styles/app_variables.css
index aee9293d79c..2768ca8d7c8 100644
--- a/web/styles/app_variables.css
+++ b/web/styles/app_variables.css
@@ -1161,10 +1161,6 @@
hsl(0deg 0% 88%),
hsl(211deg 18% 25%)
);
- --color-background-recent-view-selected: light-dark(
- hsl(0deg 11% 93%),
- hsl(228deg 11% 17%)
- );
--color-background-recent-view-table-thead-th: light-dark(
var(--grey-50),
hsl(0deg 0% 100% / 10%)
diff --git a/web/styles/recent_view.css b/web/styles/recent_view.css
index 71b392ede1d..71811729a8c 100644
--- a/web/styles/recent_view.css
+++ b/web/styles/recent_view.css
@@ -203,7 +203,7 @@
background-color: var(--color-background-zulip-button-active);
}
- &:focus {
+ &:focus-visible {
background-color: var(
--color-background-recent-filters-button-focus
);
@@ -226,7 +226,20 @@
}
.button-recent-selected {
- background-color: var(--color-background-recent-view-selected);
+ color: var(--color-text-brand-subtle-action-button);
+ background-color: var(--color-background-brand-subtle-action-button);
+
+ &:hover {
+ background-color: var(
+ --color-background-brand-subtle-action-button-hover
+ );
+ }
+
+ &:active {
+ background-color: var(
+ --color-background-brand-subtle-action-button-active
+ );
+ }
}
.unread_count {