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:
+5
-5
@@ -16,12 +16,12 @@
|
||||
}
|
||||
|
||||
&::-webkit-scrollbar-track {
|
||||
background: rgb(20, 20, 30, 50%);
|
||||
background: rgb(20 20 30 / 50%);
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
scrollbar-width: thin;
|
||||
scrollbar-color: var(--primary-color) rgb(20, 20, 30, 50%);
|
||||
scrollbar-color: var(--primary-color) rgb(20 20 30 / 50%);
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
@@ -70,7 +70,7 @@
|
||||
-webkit-background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
background-clip: text;
|
||||
text-shadow: 0 2px 4px rgb(0, 0, 0, 30%);
|
||||
text-shadow: 0 2px 4px rgb(0 0 0 / 30%);
|
||||
letter-spacing: -0.02em;
|
||||
}
|
||||
|
||||
@@ -89,7 +89,7 @@
|
||||
}
|
||||
|
||||
::ng-deep .p-dialog-mask {
|
||||
background-color: rgb(0, 0, 0, 50%);
|
||||
background-color: rgb(0 0 0 / 50%);
|
||||
backdrop-filter: blur(3px);
|
||||
}
|
||||
|
||||
@@ -100,7 +100,7 @@
|
||||
z-index: 100;
|
||||
|
||||
::ng-deep .p-button {
|
||||
box-shadow: 0 4px 12px rgb(0, 0, 0, 30%);
|
||||
box-shadow: 0 4px 12px rgb(0 0 0 / 30%);
|
||||
backdrop-filter: blur(10px);
|
||||
background: rgb(var(--p-surface-900-rgb), 80%);
|
||||
border: 1px solid var(--p-content-border-color);
|
||||
|
||||
Reference in New Issue
Block a user