mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Replacing global themed sass-vars to css-vars (#4322)
* generating css-vars * convert all global / theme sass vars to css vars with available default theme colors * added missing colors to dark lens theme
This commit is contained in:
1 parent
3214d8dfd5
commit
4c83f5becf
89 files changed
+463
-433
No files matched your search
@@ -21,7 +21,7 @@
|
||||
|
||||
.DropFileInput {
|
||||
&.droppable {
|
||||
box-shadow: inset 0 0 0 6px $primary;
|
||||
box-shadow: inset 0 0 0 6px var(--primary);
|
||||
transition: all 0.3s;
|
||||
}
|
||||
}
|
||||
@@ -27,7 +27,7 @@
|
||||
&.invalid.dirty:not(.validating) {
|
||||
label:after {
|
||||
width: 100%;
|
||||
background: $colorError;
|
||||
background: var(--colorError);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
--flex-gap: $padding * 0.6667;
|
||||
position: relative;
|
||||
padding: $padding * 0.75 0;
|
||||
border-bottom: 1px solid $halfGray;
|
||||
border-bottom: 1px solid var(--halfGray);
|
||||
line-height: 1;
|
||||
|
||||
&:after {
|
||||
@@ -59,7 +59,7 @@
|
||||
transform: translateX(-50%);
|
||||
width: 0;
|
||||
height: 2px;
|
||||
background: $primary;
|
||||
background: var(--primary);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -115,17 +115,17 @@
|
||||
&.round {
|
||||
&.invalid.dirty {
|
||||
label {
|
||||
border-color: $colorSoftError;
|
||||
border-color: var(--colorSoftError);
|
||||
}
|
||||
}
|
||||
label {
|
||||
border-radius: $radius;
|
||||
border: 1px solid $halfGray;
|
||||
border: 1px solid var(--halfGray);
|
||||
color: inherit;
|
||||
padding: $padding * 0.25 * 3 $padding * 0.25 * 3;
|
||||
|
||||
&:focus-within {
|
||||
border-color: $colorInfo;
|
||||
border-color: var(--colorInfo);
|
||||
}
|
||||
|
||||
&:after {
|
||||
@@ -145,7 +145,7 @@
|
||||
}
|
||||
|
||||
&:focus-within {
|
||||
border-color: $colorInfo;
|
||||
border-color: var(--colorInfo);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -154,7 +154,7 @@
|
||||
}
|
||||
|
||||
.Tooltip.InputTooltipError {
|
||||
--bgc: #{$colorError};
|
||||
--bgc: var(--colorError);
|
||||
--border: none;
|
||||
--color: white;
|
||||
}
|
||||
Reference in new issue
Block a user