Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
css: Use variables for border colors in sidebars.
Aman Agrawal341c25d087a9
diff --git a/web/styles/app_variables.css b/web/styles/app_variables.cssindex 26f61afb943..370cc8ab9ad 100644--- a/web/styles/app_variables.css+++ b/web/styles/app_variables.css@@ -198,6 +198,7 @@--color-background-popover: hsl(0deg 0% 100%);--color-background-alert-word: hsl(18deg 100% 84%);--color-buddy-list-highlighted-user: hsl(120deg 12.3% 71.4% / 38%);+ --color-border-sidebar: hsl(0deg 0% 87%);/* Compose box colors */--color-compose-send-button-icon-color: hsl(0deg 0% 100%);@@ -500,6 +501,7 @@--color-background-tab-picker-tab-option-hover: hsl(0deg 0% 100% / 5%);--color-background-alert-word: hsl(22deg 70% 35%);--color-buddy-list-highlighted-user: hsl(136deg 25% 73% / 20%);+ --color-border-sidebar: hsl(0deg 0% 0% / 20%);/* Compose box colors */--color-compose-send-button-focus-shadow: hsl(0deg 0% 100% / 80%);diff --git a/web/styles/dark_theme.css b/web/styles/dark_theme.cssindex 78dfdd6de0a..25453784e0a 100644--- a/web/styles/dark_theme.css+++ b/web/styles/dark_theme.css@@ -354,10 +354,8 @@);}- .column-left .left-sidebar,.stream_name_search_section,- .group_name_search_section,- .column-right .right-sidebar {+ .group_name_search_section {border-color: hsl(0deg 0% 0% / 20%);}diff --git a/web/styles/zulip.css b/web/styles/zulip.cssindex ca88e503cf2..376f721caa8 100644--- a/web/styles/zulip.css+++ b/web/styles/zulip.css@@ -2456,7 +2456,7 @@ select.invite-as {.right-sidebar {box-shadow: 0 -2px 3px 0 hsl(0deg 0% 0% / 10%);- border-left: 1px solid hsl(0deg 0% 87%);+ border-left: 1px solid var(--color-border-sidebar);padding-right: 15px;padding-left: 15px;height: 100%;@@ -2499,7 +2499,7 @@ select.invite-as {.left-sidebar {background-color: var(--color-background);box-shadow: 0 2px 3px 0 hsl(0deg 0% 0% / 10%);- border-right: 1px solid hsl(0deg 0% 87%);+ border-right: 1px solid var(--color-border-sidebar);height: 100%;padding-left: 10px;width: var(--left-sidebar-width);