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
@@ -261,7 +261,7 @@
&.active {
border-color: var(--p-red-400);
background: rgb(239, 68, 68, 8%);
background: rgb(239 68 68 / 8%);
color: var(--p-red-400);
}
}
@@ -386,8 +386,8 @@
align-items: center;
gap: 0.5rem;
padding: 0.75rem 1rem;
background: rgb(239, 68, 68, 10%);
border: 1px solid rgb(239, 68, 68, 20%);
background: rgb(239 68 68 / 10%);
border: 1px solid rgb(239 68 68 / 20%);
border-radius: 6px;
color: var(--p-red-400);
font-size: 0.875rem;
@@ -473,7 +473,7 @@
transition: all 0.15s ease;
&:hover {
background: rgb(239, 68, 68, 15%);
background: rgb(239 68 68 / 15%);
color: var(--p-red-400);
}
@@ -501,8 +501,8 @@
padding: 0.5rem 0.625rem;
font-size: 0.6875rem;
color: var(--p-red-400);
background: rgb(239, 68, 68, 8%);
border-top: 1px solid rgb(239, 68, 68, 15%);
background: rgb(239 68 68 / 8%);
border-top: 1px solid rgb(239 68 68 / 15%);
}
}