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:
@@ -241,7 +241,7 @@
|
||||
transition: all 0.2s ease;
|
||||
|
||||
&:hover {
|
||||
background: rgb(239, 68, 68, 15%);
|
||||
background: rgb(239 68 68 / 15%);
|
||||
color: var(--p-red-400);
|
||||
}
|
||||
|
||||
@@ -256,8 +256,8 @@
|
||||
align-items: center;
|
||||
gap: 0.625rem;
|
||||
padding: 0.625rem 0.75rem;
|
||||
background: rgb(234, 179, 8, 8%);
|
||||
border: 1px solid rgb(234, 179, 8, 25%);
|
||||
background: rgb(234 179 8 / 8%);
|
||||
border: 1px solid rgb(234 179 8 / 25%);
|
||||
border-radius: 6px;
|
||||
font-size: 0.8125rem;
|
||||
color: var(--text-secondary-color);
|
||||
@@ -265,7 +265,7 @@
|
||||
|
||||
i {
|
||||
font-size: 0.9rem;
|
||||
color: rgb(234, 179, 8);
|
||||
color: rgb(234 179 8);
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
@@ -391,7 +391,7 @@
|
||||
|
||||
&:hover {
|
||||
opacity: 1;
|
||||
background: rgb(239, 68, 68, 15%);
|
||||
background: rgb(239 68 68 / 15%);
|
||||
color: var(--p-red-400);
|
||||
}
|
||||
|
||||
@@ -530,7 +530,7 @@
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
padding: 0.625rem 0.75rem;
|
||||
background: rgb(234, 179, 8, 10%);
|
||||
background: rgb(234 179 8 / 10%);
|
||||
border: 1px solid var(--p-orange-400);
|
||||
border-radius: 6px;
|
||||
font-size: 0.75rem;
|
||||
@@ -600,7 +600,7 @@
|
||||
.cdk-drag-preview {
|
||||
box-sizing: border-box;
|
||||
border-radius: 6px;
|
||||
box-shadow: 0 4px 12px rgb(0, 0, 0, 25%);
|
||||
box-shadow: 0 4px 12px rgb(0 0 0 / 25%);
|
||||
background: var(--overlay-background);
|
||||
border: 1px solid var(--primary-color);
|
||||
}
|
||||
|
||||
+2
-2
@@ -4,7 +4,7 @@
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: rgb(0, 0, 0, 85%);
|
||||
background: rgb(0 0 0 / 85%);
|
||||
backdrop-filter: blur(8px);
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
@@ -132,7 +132,7 @@
|
||||
&:hover {
|
||||
background: var(--primary-hover-color);
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 4px 12px rgb(0, 0, 0, 20%);
|
||||
box-shadow: 0 4px 12px rgb(0 0 0 / 20%);
|
||||
}
|
||||
|
||||
&:active {
|
||||
|
||||
Reference in New Issue
Block a user