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.

stylelint: Fix color-function-alias-notation.

Anders Kaseorg819504a0e9cf
diff --git a/web/styles/app_variables.css b/web/styles/app_variables.css
index b2499fe283d..b6a7271e740 100644
--- a/web/styles/app_variables.css
+++ b/web/styles/app_variables.css
@@ -822,8 +822,8 @@
--color-search-shadow-wide: hsl(0deg 0% 0% / 25%);
--color-search-shadow-tight: hsl(0deg 0% 0% / 10%);
--color-search-dropdown-top-border: light-dark(
- hsla(0deg 0% 0% / 10%),
- hsla(0deg 0% 0% / 35%)
+ hsl(0deg 0% 0% / 10%),
+ hsl(0deg 0% 0% / 35%)
);
--color-search-icons: light-dark(hsl(0deg 0% 0%), hsl(0deg 0% 78%));
--color-background-image-loader: light-dark(
@@ -1643,13 +1643,13 @@
--color-copy-button-hover: light-dark(var(--grey-600), var(--grey-300));
--color-copy-button-square-bg-hover: light-dark(
/* --grey-600, opacity 0.07 */
- color-mix(in oklch, hsla(229deg 9% 36%) 7%, transparent),
+ color-mix(in oklch, hsl(229deg 9% 36%) 7%, transparent),
/* --grey-400, opacity 0.14 */
color-mix(in oklch, hsl(230deg 9% 60%) 14%, transparent)
);
--color-copy-button-active: light-dark(
/* --grey-600, opacity 0.7 */
- color-mix(in oklch, hsla(229deg 9% 36%) 70%, transparent),
+ color-mix(in oklch, hsl(229deg 9% 36%) 70%, transparent),
/* --grey-300, opacity 0.7 */
color-mix(in oklch, hsl(229deg 10% 70%) 70%, transparent)
);
@@ -1732,7 +1732,7 @@
/* Message collapsing/condensing button colors */
--color-show-more-less-button-background: light-dark(
hsl(240deg 44% 56% / 8%),
- hsla(240deg 44% 56% / 15%)
+ hsl(240deg 44% 56% / 15%)
);
--color-show-more-less-button-background-hover: light-dark(
hsl(240deg 44% 56% / 15%),
@@ -1805,7 +1805,7 @@
hsl(240deg 50% 74%)
);
--color-background-input-pill-exit-hover: light-dark(
- hsla(240deg 70% 70% / 15%),
+ hsl(240deg 70% 70% / 15%),
hsl(0deg 0% 100% / 7%)
);
--color-background-deactivated-user-pill: light-dark(
@@ -1825,7 +1825,7 @@
hsl(0deg 0% 100% / 7%)
);
--color-background-user-pill: light-dark(
- hsla(0deg 0% 100% / 85%),
+ hsl(0deg 0% 100% / 85%),
hsl(0deg 0% 0% / 40%)
);
--color-background-compose-direct-recipient-pill-container: light-dark(
@@ -2061,8 +2061,8 @@
/* Dropdown / Typeahead constants */
--color-dropdown-item: light-dark(hsl(0deg 0% 20%), hsl(0deg 0% 75%));
--color-dropdown-item-link-underline: light-dark(
- hsla(0deg 0% 20% 60%),
- hsla(0deg 0% 75% 60%)
+ hsl(0deg 0% 20% 60%),
+ hsl(0deg 0% 75% 60%)
);
--color-active-dropdown-item: light-dark(hsl(0deg 0% 0%), hsl(0deg 0% 90%));
--background-color-active-dropdown-item: light-dark(
diff --git a/web/styles/portico/activity.css b/web/styles/portico/activity.css
index b64ea94cecb..6574e160ba1 100644
--- a/web/styles/portico/activity.css
+++ b/web/styles/portico/activity.css
@@ -147,7 +147,7 @@ tr.admin td:first-child {
transition:
border-color linear 0.2s,
box-shadow linear 0.2s;
- box-shadow: inset 0 1px 1px hsla(0deg 0% 0% / 7.5%);
+ box-shadow: inset 0 1px 1px hsl(0deg 0% 0% / 7.5%);
&:focus {
border-color: hsl(206deg 80% 62% / 80%);
@@ -164,7 +164,7 @@ tr.admin td:first-child {
font-size: 0.9em;
font-weight: bold;
color: hsl(0deg 0% 100%);
- text-shadow: 0 -1px 0 hsla(0deg 0% 0% / 25%);
+ text-shadow: 0 -1px 0 hsl(0deg 0% 0% / 25%);
border-radius: 3px;
}
diff --git a/web/styles/portico/markdown.css b/web/styles/portico/markdown.css
index cb4a12c6f44..7772ee8b05c 100644
--- a/web/styles/portico/markdown.css
+++ b/web/styles/portico/markdown.css
@@ -8,7 +8,7 @@
--color-copy-button-hover: hsl(229deg 9% 36%);
--color-copy-button-active: color-mix(
in oklch,
- hsla(229deg 9% 36%) 70%,
+ hsl(229deg 9% 36%) 70%,
transparent
);
--color-copy-button-success: hsl(146deg 90% 27%);
diff --git a/web/styles/portico/navbar.css b/web/styles/portico/navbar.css
index e0c231eabb5..c97bb827dac 100644
--- a/web/styles/portico/navbar.css
+++ b/web/styles/portico/navbar.css
@@ -20,7 +20,7 @@ details summary::-webkit-details-marker {
transition: background-color 0.3s ease-out;
&:hover {
- background: hsla(240deg 100% 10% / 85%);
+ background: hsl(240deg 100% 10% / 85%);
}
}
diff --git a/web/styles/portico/pricing_plans.css b/web/styles/portico/pricing_plans.css
index 145f397a5e9..e22694dc443 100644
--- a/web/styles/portico/pricing_plans.css
+++ b/web/styles/portico/pricing_plans.css
@@ -24,7 +24,7 @@
--color-link-underline: hsl(210deg 94% 42% / 30%);
--color-link-underline-hover: hsl(210deg 100% 50%);
--color-link-underline-alternate: hsl(210deg 94% 100% / 40%);
- --color-link-underline-alternate-hover: hsla(210deg 94% 100% / 80%);
+ --color-link-underline-alternate-hover: hsl(210deg 94% 100% / 80%);
--icon-left-outward-tab-curve: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 16 16'%3e%3cpath fill='white' d='M0 16h16V0c0 8.837-7.163 16-16 16Z'/%3e%3c/svg%3e");
--icon-right-outward-tab-curve: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 16 16'%3e%3cpath fill='white' d='M16 16H0V0c0 8.837 7.163 16 16 16Z'/%3e%3c/svg%3e");
--icon-question-header-swoosh: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='33' height='56' fill='none' viewBox='0 0 33 56'%3e%3cpath fill='%23E2EBF4' d='M33 37 1 56C1 35-3.5 0 33 0 7.5 3 7.776 37 33 37Z'/%3e%3c/svg%3e");
@@ -675,7 +675,7 @@
&:hover {
text-decoration: none;
color: hsl(147deg 57% 25%);
- background-color: hsla(146deg 92% 24% / 15%);
+ background-color: hsl(146deg 92% 24% / 15%);
}
}
diff --git a/web/styles/zulip.css b/web/styles/zulip.css
index afb878188c0..b1657c27a5d 100644
--- a/web/styles/zulip.css
+++ b/web/styles/zulip.css
@@ -1025,7 +1025,7 @@ div.focused-message-list.is-conversation-view .recipient_row {
}
.topic_edit_save {
- border-color: light-dark(hsla(0deg 0% 0% / 10%), hsla(0deg 0% 0% / 60%));
+ border-color: light-dark(hsl(0deg 0% 0% / 10%), hsl(0deg 0% 0% / 60%));
border-width: 1px;
border-style: solid;
background-clip: padding-box;