style(frontend): enforce color-function-notation in scss
- Stylelint: - re-enable `color-function-notation` in the frontend Stylelint config while keeping the agreed Angular and legacy Sass exceptions unchanged - SCSS: - normalize comma-based `rgb(...)` color syntax to modern space-and-slash notation across frontend stylesheets without changing color values - Validation: - `just ui stylelint`
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
transition: background-color 0.2s ease, color 0.2s ease;
|
||||
|
||||
&:hover {
|
||||
background: rgb(0, 0, 0, 10%);
|
||||
background: rgb(0 0 0 / 10%);
|
||||
}
|
||||
|
||||
svg {
|
||||
@@ -37,7 +37,7 @@
|
||||
color: #e8e8e8;
|
||||
|
||||
&:hover {
|
||||
background: rgb(255, 255, 255, 15%);
|
||||
background: rgb(255 255 255 / 15%);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user