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:
@@ -18,7 +18,7 @@
|
||||
border: 1px solid var(--border-color);
|
||||
border-top: none;
|
||||
border-bottom: none;
|
||||
box-shadow: 0 2px 6px rgba(0, 0, 0, 8%);
|
||||
box-shadow: 0 2px 6px rgb(0, 0, 0, 8%);
|
||||
}
|
||||
|
||||
.dialog-footer {
|
||||
@@ -64,12 +64,12 @@
|
||||
transition: all 0.15s ease;
|
||||
|
||||
&:hover {
|
||||
background: rgba(255, 255, 255, 3%);
|
||||
background: rgb(255, 255, 255, 3%);
|
||||
border-color: var(--p-primary-400);
|
||||
}
|
||||
|
||||
&.selected {
|
||||
background: rgba(var(--p-primary-500-rgb), 10%);
|
||||
background: rgb(var(--p-primary-500-rgb), 10%);
|
||||
border-color: var(--p-primary-500);
|
||||
}
|
||||
}
|
||||
@@ -107,8 +107,8 @@
|
||||
align-items: flex-start;
|
||||
gap: 0.75rem;
|
||||
padding: 0.75rem 1rem;
|
||||
background: rgba(234, 179, 8, 10%);
|
||||
border: 1px solid rgba(234, 179, 8, 30%);
|
||||
background: rgb(234, 179, 8, 10%);
|
||||
border: 1px solid rgb(234, 179, 8, 30%);
|
||||
border-radius: 6px;
|
||||
color: #fbbf24;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user