style(frontend): enforce color-hex-length in scss
- Stylelint: - re-enable `color-hex-length` in the frontend Stylelint config while keeping the agreed Angular and legacy Sass exceptions as-is - SCSS: - normalize repeatable long hex colors to their short form where the value is identical - Validation: - `just ui stylelint`
This commit is contained in:
+1
-1
@@ -260,7 +260,7 @@ $transition-normal: 200ms ease;
|
||||
left: 2px;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
background: #ffffff;
|
||||
background: #fff;
|
||||
border-radius: 50%;
|
||||
transition: transform 300ms ease;
|
||||
box-shadow: 0 2px 4px rgb(0 0 0 / 20%);
|
||||
|
||||
+1
-1
@@ -146,7 +146,7 @@ $transition-normal: 200ms ease;
|
||||
left: 2px;
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
background: #ffffff;
|
||||
background: #fff;
|
||||
border-radius: 50%;
|
||||
transition: transform 300ms ease;
|
||||
box-shadow: 0 2px 4px rgb(0 0 0 / 20%);
|
||||
|
||||
Reference in New Issue
Block a user