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:
+2
-2
@@ -20,7 +20,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%);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1rem;
|
||||
@@ -317,7 +317,7 @@
|
||||
}
|
||||
|
||||
.book-row .book-formats .format-badge {
|
||||
background: rgba(var(--p-primary-500-rgb, 99, 102, 241), 15%);
|
||||
background: rgb(var(--p-primary-500-rgb, 99, 102, 241), 15%);
|
||||
color: var(--p-primary-400);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user