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

- Stylelint:
  - re-enable `color-function-alias-notation` in the frontend Stylelint config while preserving the agreed Angular and legacy Sass exceptions
- SCSS:
  - replace legacy `rgba(...)` aliases with `rgb(...)` across the frontend stylesheet tree without changing color values or selector structure
- Validation:
  - `just ui stylelint`
This commit is contained in:
James Cox
2026-04-22 17:26:43 -04:00
committed by Zach Yale
parent 6921da76ba
commit 130463bc4b
121 changed files with 800 additions and 801 deletions
@@ -112,14 +112,14 @@
overflow-y: auto;
scrollbar-width: thin;
scrollbar-color: var(--primary-color) rgba(20, 20, 30, 50%);
scrollbar-color: var(--primary-color) rgb(20, 20, 30, 50%);
&::-webkit-scrollbar {
width: 12px;
}
&::-webkit-scrollbar-track {
background: rgba(20, 20, 30, 50%);
background: rgb(20, 20, 30, 50%);
border-radius: 10px;
}
@@ -14,7 +14,7 @@
&:hover {
transform: translateY(-4px) scale(1.02);
border-color: color-mix(in srgb, var(--p-primary-400), transparent 50%);
box-shadow: 0 8px 32px rgba(0, 0, 0, 30%),
box-shadow: 0 8px 32px rgb(0, 0, 0, 30%),
0 0 0 1px color-mix(in srgb, var(--p-primary-500), transparent 70%);
z-index: 10;
}
@@ -37,7 +37,7 @@
height: calc(152px * var(--card-scale, 1));
object-fit: cover;
border-radius: 4px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 40%);
box-shadow: 0 4px 12px rgb(0, 0, 0, 40%);
transition: transform 0.3s ease, width 0.2s ease, height 0.2s ease;
}
@@ -188,7 +188,7 @@
::ng-deep .p-progressbar {
height: 6px;
border-radius: 3px;
background: rgba(255, 255, 255, 10%);
background: rgb(255, 255, 255, 10%);
}
&.progress-complete ::ng-deep .p-progressbar-value {
@@ -54,7 +54,7 @@
i {
font-size: 2rem;
color: white;
filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 30%));
filter: drop-shadow(0 2px 4px rgb(0, 0, 0, 30%));
}
}
@@ -64,7 +64,7 @@
font-weight: 500;
max-width: 400px;
line-height: 1.7;
text-shadow: 0 1px 2px rgba(0, 0, 0, 50%);
text-shadow: 0 1px 2px rgb(0, 0, 0, 50%);
}
}
@@ -78,7 +78,7 @@
position: relative;
z-index: 2;
scrollbar-color: var(--primary-color) rgba(20, 20, 30, 50%);
scrollbar-color: var(--primary-color) rgb(20, 20, 30, 50%);
> * {
scroll-snap-align: start;