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.

user_circles: Bump offline contrast in typeahead highlight.

Karl Stolleye406b7a0134a
diff --git a/web/styles/app_variables.css b/web/styles/app_variables.css
index b6675471181..891c3b255aa 100644
--- a/web/styles/app_variables.css
+++ b/web/styles/app_variables.css
@@ -1609,6 +1609,10 @@
--color-user-circle-active: light-dark(#43a35e, #4cdc75);
--color-user-circle-idle: light-dark(#f5b266, #ae640a);
--color-user-circle-offline: light-dark(#bcc0cf, #545764);
+ --color-user-circle-offline-typeahead-highlight: light-dark(
+ #adb2c5,
+ #737582
+ );
--color-user-circle-deactivated: hsl(0deg 0% 50%);
--gradient-user-circle-idle: linear-gradient(
to right,
diff --git a/web/styles/typeahead.css b/web/styles/typeahead.css
index 2a6494e3b08..de401d6677d 100644
--- a/web/styles/typeahead.css
+++ b/web/styles/typeahead.css
@@ -109,6 +109,12 @@
color: var(--color-active-dropdown-item);
background-color: var(--background-color-active-typeahead-item);
}
+
+ & .user-circle-offline {
+ /* Ensure better contrast on highlighted
+ typeahead items. */
+ color: var(--color-user-circle-offline-typeahead-highlight);
+ }
}
.pronouns,