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
@@ -28,7 +28,7 @@
align-items: center;
gap: 0.75rem;
padding: 0.75rem 1rem;
background: rgba(59, 130, 246, 8%);
background: rgb(59, 130, 246, 8%);
border: 1px solid var(--p-primary-color);
border-radius: 6px;
color: var(--p-text-color);
@@ -1,7 +1,7 @@
.thumbnail {
border: 1px solid var(--border-color);
border-radius: 0.5rem;
box-shadow: 0 1px 3px rgba(0, 0, 0, 10%);
box-shadow: 0 1px 3px rgb(0, 0, 0, 10%);
margin: 0 auto 1rem;
}
@@ -474,7 +474,7 @@ textarea.changed,
.cdk-drag-preview {
box-sizing: border-box;
border-radius: 1rem;
box-shadow: 0 2px 8px rgba(0, 0, 0, 20%);
box-shadow: 0 2px 8px rgb(0, 0, 0, 20%);
}
.cdk-drag-placeholder {
@@ -113,7 +113,7 @@
.saving-overlay {
position: absolute;
inset: 0;
background: rgba(0, 0, 0, 50%);
background: rgb(0, 0, 0, 50%);
display: flex;
flex-direction: column;
align-items: center;
@@ -132,7 +132,7 @@
}
.saving-message {
background: rgba(17, 24, 39, 90%);
background: rgb(17, 24, 39, 90%);
padding: 0.5rem 1rem;
border-radius: 0.375rem;
@@ -291,7 +291,7 @@ p-inputgroup.disabled {
&:hover {
transform: scale(1.05);
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 10%);
box-shadow: 0 4px 6px -1px rgb(0, 0, 0, 10%);
}
@media (max-width: 768px) {
@@ -301,7 +301,7 @@ p-inputgroup.disabled {
div.cover-image {
display: block;
background-color: rgba(255, 255, 255, 10%);
background-color: rgb(255, 255, 255, 10%);
text-align: center;
line-height: 2rem;
}
@@ -17,7 +17,7 @@
border: 1px solid var(--border-color);
border-top: none;
border-radius: 0 0 10px 10px;
box-shadow: 0 2px 6px rgba(0, 0, 0, 8%);
box-shadow: 0 2px 6px rgb(0, 0, 0, 8%);
}
.stats-grid {
@@ -105,8 +105,8 @@
transition: all 0.2s ease;
&.success {
background: rgba(34, 197, 94, 10%);
border-color: rgba(34, 197, 94, 40%);
background: rgb(34, 197, 94, 10%);
border-color: rgb(34, 197, 94, 40%);
.status-icon {
color: #22c55e;
@@ -114,8 +114,8 @@
}
&.error {
background: rgba(239, 68, 68, 10%);
border-color: rgba(239, 68, 68, 40%);
background: rgb(239, 68, 68, 10%);
border-color: rgb(239, 68, 68, 40%);
.status-icon {
color: #ef4444;
@@ -16,7 +16,7 @@
align-items: flex-start;
gap: 0.75rem;
padding: 0.75rem 1rem;
background: rgba(59, 130, 246, 8%);
background: rgb(59, 130, 246, 8%);
border: 1px solid var(--p-primary-color);
border-radius: 6px;
color: var(--p-text-color);
@@ -28,7 +28,7 @@
}
code {
background: rgba(255, 255, 255, 10%);
background: rgb(255, 255, 255, 10%);
padding: 0.1rem 0.3rem;
border-radius: 4px;
font-family: monospace;
@@ -99,13 +99,13 @@
border: 1px solid var(--p-surface-300);
&.preview-success {
background-color: rgba(76, 175, 80, 10%);
border-color: rgba(76, 175, 80, 30%);
background-color: rgb(76, 175, 80, 10%);
border-color: rgb(76, 175, 80, 30%);
}
&.preview-failure {
background-color: rgba(244, 67, 54, 10%);
border-color: rgba(244, 67, 54, 30%);
background-color: rgb(244, 67, 54, 10%);
border-color: rgb(244, 67, 54, 30%);
}
}