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.

typeahead: Change background of active elements.

Aman Agrawal5f956cd369e1
diff --git a/web/styles/app_variables.css b/web/styles/app_variables.css
index 5cd127c4dfe..30d89c19cd0 100644
--- a/web/styles/app_variables.css
+++ b/web/styles/app_variables.css
@@ -628,10 +628,11 @@
/* Same color as background color of header / footer */
--color-border-emoji-picker-tippy-arrow: hsl(0deg 0% 93%);
- /* Dropdown constants */
+ /* Dropdown / Typeahead constants */
--color-dropdown-item: hsl(0deg 0% 20%);
--color-active-dropdown-item: hsl(0deg 0% 0%);
--background-color-active-dropdown-item: hsl(220deg 12% 4.9% / 5%);
+ --background-color-active-typeahead-item: hsl(221.14deg 89.74% 92.35%);
}
%dark-theme {
@@ -981,10 +982,13 @@
/* Same color as background color of header / footer */
--color-border-emoji-picker-tippy-arrow: hsl(211.58deg 33.33% 11.18%);
- /* Dropdown constants */
+ /* Dropdown / Typeahead constants */
--color-dropdown-item: hsl(0deg 0% 75%);
--color-active-dropdown-item: hsl(0deg 0% 90%);
--background-color-active-dropdown-item: hsl(220deg 12% 100% / 7%);
+ --background-color-active-typeahead-item: hsl(
+ 226.35deg 82.53% 55.1% / 38.82%
+ );
}
@media screen {
diff --git a/web/styles/zulip.css b/web/styles/zulip.css
index 99870522a12..071131fc3a8 100644
--- a/web/styles/zulip.css
+++ b/web/styles/zulip.css
@@ -850,7 +850,7 @@ strong {
&:hover,
&:focus {
color: var(--color-active-dropdown-item);
- background-color: var(--background-color-active-dropdown-item);
+ background-color: var(--background-color-active-typeahead-item);
}
}
}