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.

css: Fix prettier error and reorganize some colors.

Tim Abbott213387249e7b
diff --git a/web/styles/zulip.css b/web/styles/zulip.css
index 637e72a2426..1caaa535c63 100644
--- a/web/styles/zulip.css
+++ b/web/styles/zulip.css
@@ -162,14 +162,6 @@ body {
--color-failed-message-send-icon: hsl(3.88deg 98.84% 66.27%);
--color-background-modal: hsl(0deg 0% 98%);
- --color-zulip-logo: hsl(0deg 0% 0% / 34%);
- --color-zulip-logo-loading: hsl(0deg 0% 27%);
- --color-zulip-logo-z: hsl(0deg 0% 100%);
-
- --color-show-more-less-button-background: hsl(240deg 44% 56% / 8%);
- --color-show-more-less-button-background-hover: hsl(240deg 44% 56% / 15%);
- --color-show-more-less-button-background-active: hsl(240deg 44% 56% / 20%);
-
/* Text colors */
--color-text-default: hsl(0deg 0% 20%);
--color-text-message-default: hsl(0deg 0% 15%);
@@ -183,6 +175,16 @@ body {
/* Icon colors */
--color-icon-bot: hsl(180deg 8% 65% / 100%);
+ /* Message feed loading indicator colors */
+ --color-zulip-logo: hsl(0deg 0% 0% / 34%);
+ --color-zulip-logo-loading: hsl(0deg 0% 27%);
+ --color-zulip-logo-z: hsl(0deg 0% 100%);
+
+ /* Message collapsing/condensing button colors */
+ --color-show-more-less-button-background: hsl(240deg 44% 56% / 8%);
+ --color-show-more-less-button-background-hover: hsl(240deg 44% 56% / 15%);
+ --color-show-more-less-button-background-active: hsl(240deg 44% 56% / 20%);
+
/* Mention pill colors */
--color-background-direct-mention: hsl(240deg 52% 95%);
--color-background-group-mention: hsl(180deg 40% 94%);
@@ -213,14 +215,6 @@ body {
--color-unread-marker: hsl(217deg 64% 59%);
--color-background-modal: hsl(212deg 28% 18%);
- --color-zulip-logo: hsl(0deg 0% 100% / 50%);
- --color-zulip-logo-loading: hsl(0deg 0% 100%);
- --color-zulip-logo-z: hsl(214deg 27% 18%);
-
- --color-show-more-less-button-background: hsla(240deg 44% 56% / 15%);
- --color-show-more-less-button-background-hover: hsl(240deg 44% 56% / 25%);
- --color-show-more-less-button-background-active: hsl(240deg 44% 56% / 15%);
-
/* Text colors */
--color-text-default: hsl(0deg 0% 100% / 75%);
/* Unlike the light theme, the dark theme renders message
@@ -238,6 +232,16 @@ body {
/* Icon colors */
--color-icon-bot: hsl(180deg 5% 50% / 100%);
+ /* Message feed loading indicator colors */
+ --color-zulip-logo: hsl(0deg 0% 100% / 50%);
+ --color-zulip-logo-loading: hsl(0deg 0% 100%);
+ --color-zulip-logo-z: hsl(214deg 27% 18%);
+
+ /* Message collapsing/condensing button colors */
+ --color-show-more-less-button-background: hsla(240deg 44% 56% / 15%);
+ --color-show-more-less-button-background-hover: hsl(240deg 44% 56% / 25%);
+ --color-show-more-less-button-background-active: hsl(240deg 44% 56% / 15%);
+
/* Mention pill colors */
--color-background-direct-mention: hsl(240deg 13% 20%);
--color-background-group-mention: hsl(180deg 13% 15%);