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:
@@ -13,7 +13,7 @@
|
||||
min-width: 200px;
|
||||
|
||||
h3 {
|
||||
color: var(--text-color, #ffffff);
|
||||
color: var(--text-color, #fff);
|
||||
font-size: 1.25rem;
|
||||
font-weight: 500;
|
||||
margin: 0 0 0.5rem;
|
||||
@@ -69,7 +69,7 @@
|
||||
p {
|
||||
font-size: 0.9rem;
|
||||
margin: 0 0 0.5rem;
|
||||
color: var(--text-color, #ffffff);
|
||||
color: var(--text-color, #fff);
|
||||
}
|
||||
|
||||
small {
|
||||
|
||||
Reference in New Issue
Block a user