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 dark theme hover color for copy invite link.

Aman Agrawal5dba15160d79
diff --git a/web/styles/dark_theme.css b/web/styles/dark_theme.css
index 51f52096c32..b4934bba4d1 100644
--- a/web/styles/dark_theme.css
+++ b/web/styles/dark_theme.css
@@ -1255,14 +1255,6 @@
box-shadow: 0 5px 10px hsl(0deg 0% 0% / 40%);
}
- #invite-user-modal {
- #clipboard_image {
- & path {
- fill: hsl(236deg 33% 90%);
- }
- }
- }
-
#user-profile-modal {
#default-section {
.default-field {
diff --git a/web/styles/zulip.css b/web/styles/zulip.css
index 6a61b6291e7..bc0e3409b92 100644
--- a/web/styles/zulip.css
+++ b/web/styles/zulip.css
@@ -328,6 +328,8 @@ body {
--color-gear-menu-blue-text: hsl(217deg 100% 50%);
--color-header-button-hover: hsl(0deg 0% 0% / 5%);
--color-header-button-focus: hsl(0deg 0% 0% / 8%);
+ --color-fill-hover-copy-icon: hsl(200deg 100% 40%);
+ --color-fill-user-invite-copy-icon: hsl(0deg 0% 46.7%);
}
%dark-theme {
@@ -482,6 +484,7 @@ body {
--color-gear-menu-blue-text: hsl(217deg 100% 65%);
--color-header-button-hover: hsl(0deg 0% 100% / 4%);
--color-header-button-focus: hsl(0deg 0% 100% / 7%);
+ --color-fill-user-invite-copy-icon: hsl(236deg 33% 90%);
}
@media screen {
@@ -1013,7 +1016,7 @@ li,
z-index: 2;
&:hover svg path {
- fill: hsl(200deg 100% 40%);
+ fill: var(--color-fill-hover-copy-icon);
}
}
@@ -1043,6 +1046,14 @@ li,
&:active {
box-shadow: none;
}
+
+ & path {
+ fill: var(--color-fill-user-invite-copy-icon);
+ }
+
+ &:hover svg path {
+ fill: var(--color-fill-hover-copy-icon);
+ }
}
#clipboard_image {