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
@@ -82,12 +82,12 @@
color: white;
font-size: settings.$settings-section-description-size;
font-weight: bold;
text-shadow: 0 1px 2px rgb(0, 0, 0, 30%);
text-shadow: 0 1px 2px rgb(0 0 0 / 30%);
}
&:hover {
transform: scale(1.1);
box-shadow: 0 4px 12px rgb(0, 0, 0, 15%);
box-shadow: 0 4px 12px rgb(0 0 0 / 15%);
}
&.selected {
@@ -162,7 +162,7 @@
&:hover {
transform: translateY(-2px);
box-shadow: 0 4px 12px rgb(0, 0, 0, 10%);
box-shadow: 0 4px 12px rgb(0 0 0 / 10%);
.theme-colors {
border-color: color-mix(in srgb, var(--primary-color) 40%, transparent);
@@ -132,7 +132,7 @@
&: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);
}