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
@@ -82,12 +82,12 @@
|
||||
color: white;
|
||||
font-size: settings.$settings-section-description-size;
|
||||
font-weight: bold;
|
||||
text-shadow: 0 1px 2px rgba(0, 0, 0, 30%);
|
||||
text-shadow: 0 1px 2px rgb(0, 0, 0, 30%);
|
||||
}
|
||||
|
||||
&:hover {
|
||||
transform: scale(1.1);
|
||||
box-shadow: 0 4px 12px rgba(0, 0, 0, 15%);
|
||||
box-shadow: 0 4px 12px rgb(0, 0, 0, 15%);
|
||||
}
|
||||
|
||||
&.selected {
|
||||
|
||||
+1
-1
@@ -162,7 +162,7 @@
|
||||
|
||||
&:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 4px 12px rgba(0, 0, 0, 10%);
|
||||
box-shadow: 0 4px 12px rgb(0, 0, 0, 10%);
|
||||
|
||||
.theme-colors {
|
||||
border-color: color-mix(in srgb, var(--primary-color) 40%, transparent);
|
||||
|
||||
+1
-1
@@ -132,7 +132,7 @@
|
||||
|
||||
&:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 4px 12px rgba(0, 0, 0, 10%);
|
||||
box-shadow: 0 4px 12px rgb(0, 0, 0, 10%);
|
||||
border-color: color-mix(in srgb, var(--primary-color) 40%, transparent);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user