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.

bot_icon: Adjust bot-icon color for light and dark modes.

Karl Stolleya9bc5e94e721
diff --git a/web/styles/components.css b/web/styles/components.css
index 5595adb9899..533eeaba123 100644
--- a/web/styles/components.css
+++ b/web/styles/components.css
@@ -94,7 +94,7 @@ a.no-underline:hover {
}
i.zulip-icon.zulip-icon-bot {
- color: hsl(180deg 5% 74%);
+ color: var(--color-icon-bot);
vertical-align: top;
padding: 0 2px;
}
diff --git a/web/styles/zulip.css b/web/styles/zulip.css
index df4eb564934..cbfec1cb2a1 100644
--- a/web/styles/zulip.css
+++ b/web/styles/zulip.css
@@ -154,6 +154,9 @@ body {
--color-text-self-direct-mention: hsl(240deg 52% 45% / 100%);
--color-text-self-group-mention: hsl(183deg 52% 26% / 100%);
+ /* Icon colors */
+ --color-icon-bot: hsl(180deg 8% 65% / 100%);
+
/* Mention pill colors */
--color-background-direct-mention: hsl(240deg 52% 95%);
--color-background-group-mention: hsl(180deg 40% 94%);
@@ -197,6 +200,9 @@ body {
--color-text-self-direct-mention: hsl(240deg 100% 88% / 100%);
--color-text-self-group-mention: hsl(184deg 52% 63% / 100%);
+ /* Icon colors */
+ --color-icon-bot: hsl(180deg 5% 50% / 100%);
+
/* Mention pill colors */
--color-background-direct-mention: hsl(240deg 13% 20%);
--color-background-group-mention: hsl(180deg 13% 15%);