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_card_popover: Update text item colors to improve contrast.

Sayam Samal1f020816c2ad
diff --git a/web/styles/app_variables.css b/web/styles/app_variables.css
index a8423fcd163..7e28704bcaa 100644
--- a/web/styles/app_variables.css
+++ b/web/styles/app_variables.css
@@ -654,6 +654,7 @@
--color-text-personal-menu-some-status: hsl(0deg 0% 40%);
--color-text-sidebar-heading: hsl(0deg 0% 43%);
--color-text-sidebar-popover-menu: hsl(0deg 0% 20%);
+ --color-text-user-card-secondary: var(--grey-550);
--color-text-url: hsl(200deg 100% 40%);
--color-text-url-hover: hsl(200deg 100% 25%);
--color-text-settings-field-hint: hsl(0deg 0% 57%);
@@ -1056,6 +1057,7 @@
--color-text-personal-menu-no-status: hsl(0deg 0% 100% 35%);
--color-text-personal-menu-some-status: hsl(0deg 0% 100% 50%);
--color-text-sidebar-popover-menu: hsl(236deg 33% 90%);
+ --color-text-user-card-secondary: var(--grey-400);
/* 75% opacity of --color-text-default against --color-background.
We use color-mix here to avoid defining a separate, compounding
`opacity` property, and also to preserve a record of the
diff --git a/web/styles/popovers.css b/web/styles/popovers.css
index 86cda681b16..5cc771181d4 100644
--- a/web/styles/popovers.css
+++ b/web/styles/popovers.css
@@ -130,6 +130,8 @@
}
.user-card-popover-actions {
+ --color-text-item: var(--color-text-user-card-secondary);
+
.custom-profile-field-value {
display: flex;
align-items: center;