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:
+3
-3
@@ -54,7 +54,7 @@
|
||||
i {
|
||||
font-size: 2rem;
|
||||
color: white;
|
||||
filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 30%));
|
||||
filter: drop-shadow(0 2px 4px rgb(0, 0, 0, 30%));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -64,7 +64,7 @@
|
||||
font-weight: 500;
|
||||
max-width: 400px;
|
||||
line-height: 1.7;
|
||||
text-shadow: 0 1px 2px rgba(0, 0, 0, 50%);
|
||||
text-shadow: 0 1px 2px rgb(0, 0, 0, 50%);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -78,7 +78,7 @@
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
|
||||
scrollbar-color: var(--primary-color) rgba(20, 20, 30, 50%);
|
||||
scrollbar-color: var(--primary-color) rgb(20, 20, 30, 50%);
|
||||
|
||||
> * {
|
||||
scroll-snap-align: start;
|
||||
|
||||
Reference in New Issue
Block a user