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:
+4
-4
@@ -29,7 +29,7 @@
|
||||
border: 1px solid var(--border-color);
|
||||
border-top: none;
|
||||
border-radius: 0 0 10px 10px;
|
||||
box-shadow: 0 2px 6px rgba(0, 0, 0, 8%);
|
||||
box-shadow: 0 2px 6px rgb(0, 0, 0, 8%);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -256,7 +256,7 @@
|
||||
}
|
||||
|
||||
.p-image-preview-mask {
|
||||
background: rgba(0, 0, 0, 60%);
|
||||
background: rgb(0, 0, 0, 60%);
|
||||
}
|
||||
|
||||
.p-image-preview-indicator {
|
||||
@@ -269,7 +269,7 @@
|
||||
position: absolute;
|
||||
top: 6px;
|
||||
right: 6px;
|
||||
background: rgba(0, 0, 0, 80%);
|
||||
background: rgb(0, 0, 0, 80%);
|
||||
color: white;
|
||||
padding: 3px 6px;
|
||||
border-radius: 4px;
|
||||
@@ -288,7 +288,7 @@
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 0.5rem;
|
||||
background: linear-gradient(to top, rgba(0, 0, 0, 80%), transparent);
|
||||
background: linear-gradient(to top, rgb(0, 0, 0, 80%), transparent);
|
||||
opacity: 0;
|
||||
z-index: 3;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user