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.

dark_theme: Clean up user profile modal field name related colors.

Sayam Samalec611fda696e
diff --git a/web/styles/app_variables.css b/web/styles/app_variables.css
index 8043fe11b68..76f453d045e 100644
--- a/web/styles/app_variables.css
+++ b/web/styles/app_variables.css
@@ -1434,6 +1434,13 @@
hsl(0deg 0% 80%),
hsl(0deg 0% 0% / 60%)
);
+
+ /* User Profile Modal */
+ --color-user-profile-field-name: light-dark(
+ hsl(0deg 0% 20%),
+ hsl(236deg 33% 90%)
+ );
+
/* Link colors */
--color-text-link: light-dark(hsl(210deg 94% 42%), hsl(200deg 100% 50%));
--color-text-link-decoration: light-dark(
diff --git a/web/styles/dark_theme.css b/web/styles/dark_theme.css
index f18a25df349..0075f7defe7 100644
--- a/web/styles/dark_theme.css
+++ b/web/styles/dark_theme.css
@@ -359,22 +359,6 @@
}
#user-profile-modal {
- #default-section {
- .default-field {
- .name {
- color: hsl(236deg 33% 90%);
- }
- }
- }
-
- #content {
- .field-section {
- .name {
- color: hsl(236deg 33% 90%);
- }
- }
- }
-
.subscription-group-list,
.subscription-stream-list,
.subscription-stream-list .user-stream-list tr,
diff --git a/web/styles/popovers.css b/web/styles/popovers.css
index c17c196279d..c76e2995be3 100644
--- a/web/styles/popovers.css
+++ b/web/styles/popovers.css
@@ -435,7 +435,7 @@ ul.popover-group-menu-member-list {
}
.name {
- color: hsl(0deg 0% 20%);
+ color: var(--color-user-profile-field-name);
font-weight: 600;
margin-right: 10px;
overflow-wrap: break-word;
@@ -512,11 +512,6 @@ ul.popover-group-menu-member-list {
.field-section {
margin-bottom: 10px;
- .name {
- color: hsl(0deg 0% 20%);
- font-weight: 600;
- }
-
&[data-type="2"] .value {
overflow-wrap: break-word;
}