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
@@ -29,7 +29,7 @@
border: 1px solid var(--border-color);
border-top: none;
border-radius: 0 0 10px 10px;
box-shadow: 0 2px 6px rgb(0, 0, 0, 8%);
box-shadow: 0 2px 6px rgb(0 0 0 / 8%);
}
}
@@ -256,7 +256,7 @@
}
.p-image-preview-mask {
background: rgb(0, 0, 0, 60%);
background: rgb(0 0 0 / 60%);
}
.p-image-preview-indicator {
@@ -269,7 +269,7 @@
position: absolute;
top: 6px;
right: 6px;
background: rgb(0, 0, 0, 80%);
background: rgb(0 0 0 / 80%);
color: white;
padding: 3px 6px;
border-radius: 4px;
@@ -288,7 +288,7 @@
align-items: center;
justify-content: center;
padding: 0.5rem;
background: linear-gradient(to top, rgb(0, 0, 0, 80%), transparent);
background: linear-gradient(to top, rgb(0 0 0 / 80%), transparent);
opacity: 0;
z-index: 3;
}