Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
app_components: Refactor table-bordered border color rule.
PieterCK681adc1a75be
diff --git a/web/styles/app_components.css b/web/styles/app_components.cssindex 3fe95cd2460..843ffe58cbc 100644--- a/web/styles/app_components.css+++ b/web/styles/app_components.css@@ -799,7 +799,7 @@ div.overlay {}.table-bordered {- border: 1px solid hsl(0deg 0% 87%);+ border: 1px solid var(--color-border-table-bordered);border-collapse: separate;border-left: 0;border-radius: 4px;@@ -809,8 +809,8 @@ div.overlay {& th,td {- border-left: 1px solid hsl(0deg 0% 87%);- border-top: 1px solid hsl(0deg 0% 87%);+ border-left: 1px solid var(--color-border-table-bordered);+ border-top: 1px solid var(--color-border-table-bordered);padding: 4px 5px;text-align: left;}diff --git a/web/styles/app_variables.css b/web/styles/app_variables.cssindex 239f3bc511b..a41493bd4bb 100644--- a/web/styles/app_variables.css+++ b/web/styles/app_variables.css@@ -389,6 +389,7 @@/* Settings table colors */--color-border-table-striped: hsl(0deg 0% 87%);+ --color-border-table-bordered: hsl(0deg 0% 87%);/* Markdown code colors */--color-markdown-code-text: hsl(0deg 0% 0%);@@ -747,6 +748,7 @@/* Settings table colors */--color-border-table-striped: hsl(0deg 0% 0% / 20%);+ --color-border-table-bordered: hsl(0deg 0% 0% / 20%);/* Markdown code colors *//* Note that Markdown code-link colors are identical