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
@@ -248,7 +248,7 @@
padding: 1rem 0.5rem 0.5rem;
z-index: 1;
border-radius: 10px 10px 0 0;
border: 1px solid rgb(255, 255, 255, 50%);
border: 1px solid rgb(255 255 255 / 50%);
border-width: 1px 1px 0 1px;
background-color: var(--card-background);
transition: transform 0.15s ease-out, opacity 0.15s ease-out;
@@ -482,7 +482,7 @@
z-index: 998;
width: 100%;
height: 100%;
background-color: rgb(0, 0, 0, 40%);
background-color: rgb(0 0 0 / 40%);
}
}
@@ -498,7 +498,7 @@
bottom: 0;
height: calc(100% - 3.85rem);
background-color: var(--card-background);
box-shadow: -2px 0 10px rgb(0, 0, 0, 15%);
box-shadow: -2px 0 10px rgb(0 0 0 / 15%);
transform: translateX(100%);
transition: transform 0.3s ease;
z-index: 1001;
@@ -6,11 +6,11 @@
height: 100%;
display: flex;
flex-direction: column;
box-shadow: 0 2px 8px rgb(0, 0, 0, 15%);
box-shadow: 0 2px 8px rgb(0 0 0 / 15%);
transition: box-shadow 0.25s ease, transform 0.25s ease;
&:hover {
box-shadow: 0 8px 24px rgb(0, 0, 0, 30%);
box-shadow: 0 8px 24px rgb(0 0 0 / 30%);
transform: translateY(-2px);
}
@@ -44,7 +44,7 @@
background: linear-gradient(
90deg,
var(--surface-ground) 25%,
var(--surface-hover, rgb(255, 255, 255, 8%)) 50%,
var(--surface-hover, rgb(255 255 255 / 8%)) 50%,
var(--surface-ground) 75%
);
background-size: 200% 100%;
@@ -88,7 +88,7 @@
left: 0;
width: 100%;
height: 100%;
background: radial-gradient(circle, rgb(0, 0, 0, 0%) 25%, rgb(0, 0, 0, 60%) 100%);
background: radial-gradient(circle, rgb(0 0 0 / 0%) 25%, rgb(0 0 0 / 60%) 100%);
opacity: 0;
transition: opacity 0.15s ease-in-out;
pointer-events: none;
@@ -134,16 +134,16 @@
::ng-deep .p-button {
box-shadow:
0 2px 8px rgb(0, 0, 0, 40%),
inset 0 1px 0 rgb(255, 255, 255, 15%);
border: 1px solid rgb(255, 255, 255, 10%);
0 2px 8px rgb(0 0 0 / 40%),
inset 0 1px 0 rgb(255 255 255 / 15%);
border: 1px solid rgb(255 255 255 / 10%);
transition: transform 0.15s ease, box-shadow 0.15s ease;
&:hover {
transform: scale(1.08);
box-shadow:
0 4px 12px rgb(0, 0, 0, 50%),
inset 0 1px 0 rgb(255, 255, 255, 20%);
0 4px 12px rgb(0 0 0 / 50%),
inset 0 1px 0 rgb(255 255 255 / 20%);
}
@media (max-width: 767px) {
@@ -227,7 +227,7 @@
position: absolute;
top: 8px;
left: 8px;
background-color: rgb(0, 0, 0, 70%);
background-color: rgb(0 0 0 / 70%);
color: white;
font-size: 0.75rem;
padding: 1px 3px;
@@ -247,8 +247,8 @@
user-select: none;
font-weight: 700;
text-align: center;
box-shadow: 0 2px 6px rgb(0, 0, 0, 30%);
border: 1px solid rgb(255, 255, 255, 20%);
box-shadow: 0 2px 6px rgb(0 0 0 / 30%);
border: 1px solid rgb(255 255 255 / 20%);
display: flex;
align-items: center;
gap: 2px;
@@ -268,7 +268,7 @@
padding: 1px 6px;
border-radius: 6px;
z-index: 3;
box-shadow: 0 2px 6px rgb(0, 0, 0, 25%);
box-shadow: 0 2px 6px rgb(0 0 0 / 25%);
letter-spacing: 0.03em;
user-select: none;
pointer-events: none;
@@ -49,7 +49,7 @@
background-color: var(--card-background);
border: 1px solid var(--primary-color);
border-radius: 6px;
box-shadow: 0 5px 15px rgb(0, 0, 0, 25%);
box-shadow: 0 5px 15px rgb(0 0 0 / 25%);
}
.cdk-drag-placeholder {