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 moving bar on main-view banner.

Karl Stolley33522543c60c
diff --git a/web/styles/app_variables.css b/web/styles/app_variables.css
index 89b74c53a39..6a23d76dd4b 100644
--- a/web/styles/app_variables.css
+++ b/web/styles/app_variables.css
@@ -2738,6 +2738,10 @@
var(--color-text-generic-link),
hsl(200deg 100% 50%)
);
+ --color-background-main-view-banner-moving-bar: light-dark(
+ hsl(204deg 63% 85%),
+ hsl(204deg 63% 18%)
+ );
/* Info density update UI */
--color-info-density-control-border: light-dark(
diff --git a/web/styles/compose.css b/web/styles/compose.css
index 7127be27088..8bc25353abd 100644
--- a/web/styles/compose.css
+++ b/web/styles/compose.css
@@ -1009,7 +1009,7 @@
/* The progress updates seem to come every second or so,
so this is the smoothest it can probably get. */
transition: width 1s ease-in-out; /* stylelint-disable-line plugin/no-low-performance-animation-properties */
- background: hsl(204deg 63% 85%);
+ background: var(--color-background-main-view-banner-moving-bar);
top: 0;
bottom: 0;
}
diff --git a/web/styles/dark_theme.css b/web/styles/dark_theme.css
index 42a9cc6dfe8..1bf09c8eb11 100644
--- a/web/styles/dark_theme.css
+++ b/web/styles/dark_theme.css
@@ -81,12 +81,6 @@
}
}
- .upload_banner {
- .moving_bar {
- background: hsl(204deg 63% 18%);
- }
- }
-
/* this one is because in the app we have blue and in dark-theme it should be white. */
.popover a {
color: inherit;