style(frontend): enforce color-function-notation in scss

- Stylelint:
  - re-enable `color-function-notation` in the frontend Stylelint config while keeping the agreed Angular and legacy Sass exceptions unchanged
- SCSS:
  - normalize comma-based `rgb(...)` color syntax to modern space-and-slash notation across frontend stylesheets without changing color values
- Validation:
  - `just ui stylelint`
This commit is contained in:
James Cox
2026-04-22 17:26:43 -04:00
committed by Zach Yale
parent 130463bc4b
commit ddcbb5b666
121 changed files with 790 additions and 791 deletions
@@ -15,7 +15,7 @@
left: -50%;
width: 200%;
height: 200%;
background: radial-gradient(circle, rgb(59, 130, 246, 10%) 0%, transparent 70%);
background: radial-gradient(circle, rgb(59 130 246 / 10%) 0%, transparent 70%);
animation: float 20s ease-in-out infinite;
}
}
@@ -42,19 +42,19 @@
width: 100%;
border-radius: 2rem;
padding: 2px;
background: linear-gradient(135deg, var(--primary-color) 0%, rgb(59, 130, 246, 30%) 50%, transparent 100%);
box-shadow: 0 20px 60px rgb(0, 0, 0, 40%);
background: linear-gradient(135deg, var(--primary-color) 0%, rgb(59 130 246 / 30%) 50%, transparent 100%);
box-shadow: 0 20px 60px rgb(0 0 0 / 40%);
transition: all 0.3s ease;
&:hover {
box-shadow: 0 25px 70px rgb(0, 0, 0, 50%);
box-shadow: 0 25px 70px rgb(0 0 0 / 50%);
transform: translateY(-2px);
}
}
@mixin auth-card {
width: 100%;
background: rgb(17, 24, 39, 95%);
background: rgb(17 24 39 / 95%);
backdrop-filter: blur(20px);
border-radius: calc(2rem - 2px);
padding: 3rem 2.5rem;
@@ -78,7 +78,7 @@
width: 4rem;
height: 4rem;
margin: 0 auto;
filter: drop-shadow(0 4px 12px rgb(59, 130, 246, 40%));
filter: drop-shadow(0 4px 12px rgb(59 130 246 / 40%));
transition: transform 0.3s ease;
&:hover {
@@ -95,7 +95,7 @@
justify-content: center;
border-radius: 50%;
background: linear-gradient(135deg, var(--primary-color) 0%, #2563eb 100%);
box-shadow: 0 4px 12px rgb(59, 130, 246, 40%);
box-shadow: 0 4px 12px rgb(59 130 246 / 40%);
transition: transform 0.3s ease;
i {
@@ -124,7 +124,7 @@
@mixin auth-subtitle {
font-size: 0.95rem;
color: rgb(255, 255, 255, 70%);
color: rgb(255 255 255 / 70%);
font-weight: 400;
line-height: 1.5;
max-width: 400px;
@@ -149,7 +149,7 @@
gap: 0.5rem;
font-size: 0.95rem;
font-weight: 600;
color: rgb(255, 255, 255, 90%);
color: rgb(255 255 255 / 90%);
i {
color: var(--primary-color);
@@ -161,7 +161,7 @@
transition: all 0.3s ease;
&:focus {
box-shadow: 0 0 0 3px rgb(59, 130, 246, 20%);
box-shadow: 0 0 0 3px rgb(59 130 246 / 20%);
}
}
@@ -192,7 +192,7 @@
&:hover:not(:disabled) {
transform: translateY(-2px);
box-shadow: 0 8px 24px rgb(59, 130, 246, 40%);
box-shadow: 0 8px 24px rgb(59 130 246 / 40%);
}
&:active:not(:disabled) {
@@ -9,7 +9,7 @@
padding: 1.5rem 1.5rem 1.25rem 1.5rem;
border-radius: 10px 10px 0 0;
border: 1px solid var(--border-color);
box-shadow: 0 2px 6px rgb(0, 0, 0, 8%);
box-shadow: 0 2px 6px rgb(0 0 0 / 8%);
.header-icon-wrapper {
display: flex;
@@ -90,7 +90,7 @@
background: var(--card-background);
border: 1px solid var(--border-color);
border-radius: 0 0 10px 10px;
box-shadow: 0 -2px 8px rgb(0, 0, 0, 6%);
box-shadow: 0 -2px 8px rgb(0 0 0 / 6%);
.footer-info,
.validation-status {
@@ -159,22 +159,22 @@
}
&.error {
background: rgb(239, 68, 68, 10%);
color: rgb(239, 68, 68);
border: 1px solid rgb(239, 68, 68, 30%);
background: rgb(239 68 68 / 10%);
color: rgb(239 68 68);
border: 1px solid rgb(239 68 68 / 30%);
i {
color: rgb(239, 68, 68);
color: rgb(239 68 68);
}
}
&.success {
background: rgb(34, 197, 94, 10%);
color: rgb(34, 197, 94);
border: 1px solid rgb(34, 197, 94, 30%);
background: rgb(34 197 94 / 10%);
color: rgb(34 197 94);
border: 1px solid rgb(34 197 94 / 30%);
i {
color: rgb(34, 197, 94);
color: rgb(34 197 94);
}
}
@@ -517,7 +517,7 @@ $settings-item-border-left-width: 3px;
&:hover {
transform: translateY(-2px);
box-shadow: 0 4px 12px rgb(0, 0, 0, 10%);
box-shadow: 0 4px 12px rgb(0 0 0 / 10%);
border-color: color-mix(in srgb, var(--primary-color) 40%, transparent);
}