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 tables' related border colors.

Sayam Samalad8c2b7275ef
diff --git a/web/styles/app_variables.css b/web/styles/app_variables.css
index 76f453d045e..296c2849cba 100644
--- a/web/styles/app_variables.css
+++ b/web/styles/app_variables.css
@@ -1440,6 +1440,10 @@
hsl(0deg 0% 20%),
hsl(236deg 33% 90%)
);
+ --color-border-user-profile-table: light-dark(
+ hsl(0deg 0% 87%),
+ hsl(0deg 0% 0% / 40%)
+ );
/* Link colors */
--color-text-link: light-dark(hsl(210deg 94% 42%), hsl(200deg 100% 50%));
diff --git a/web/styles/dark_theme.css b/web/styles/dark_theme.css
index 0075f7defe7..9d69ea655d0 100644
--- a/web/styles/dark_theme.css
+++ b/web/styles/dark_theme.css
@@ -359,13 +359,6 @@
}
#user-profile-modal {
- .subscription-group-list,
- .subscription-stream-list,
- .subscription-stream-list .user-stream-list tr,
- .subscription-group-list .user-group-list tr {
- border-color: hsl(0deg 0% 0% / 40%);
- }
-
.manage-profile-tab-footer {
&.modal__footer_wrapper {
border-top: 1px solid hsl(0deg 0% 100% / 20%);
diff --git a/web/styles/popovers.css b/web/styles/popovers.css
index c76e2995be3..b54518c61dc 100644
--- a/web/styles/popovers.css
+++ b/web/styles/popovers.css
@@ -617,7 +617,7 @@ ul.popover-group-menu-member-list {
.subscription-group-list,
.subscription-stream-list {
- border: 1px solid hsl(0deg 0% 83%);
+ border: 1px solid var(--color-border-user-profile-table);
border-radius: 4px;
overflow: auto;
text-align: left;
@@ -632,7 +632,7 @@ ul.popover-group-menu-member-list {
border-collapse: collapse;
& tr {
- border-bottom: 1px solid hsl(0deg 0% 87%);
+ border-bottom: 1px solid var(--color-border-user-profile-table);
/* Ensure equal height for rows with a remove-subscription-button and
those without one. */
height: 34px;