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:
Roman authored and GitHub committed 2021-11-15 17:37:23 +02:00
1 parent 3214d8dfd5
commit 4c83f5becf
89 files changed
+463 -433

No files matched your search

+9 -9
View File
@@ -30,7 +30,7 @@
.Radio {
display: inline-block;
border: 1px solid $borderFaintColor;
border: 1px solid var(--borderFaintColor);
border-radius: $radius;
text-align: center;
padding: round($padding * .7) $padding;
@@ -41,21 +41,21 @@
cursor: pointer;
&:not(:active):focus {
position: relative;
border-color: $primary;
box-shadow: inset 0 0 0 1px $primary;
border-color: var(--primary);
box-shadow: inset 0 0 0 1px var(--primary);
}
}
&.checked {
background-color: $radioActiveBackground;
color: $textColorAccent;
background-color: var(--radioActiveBackground);
color: var(--textColorAccent);
* {
cursor: default;
}
}
&:hover {
color: $textColorAccent
color: var(--textColorAccent)
}
+ .Radio {
@@ -76,9 +76,9 @@
.Radio {
$tickSize: round(1.8 * $unit);
$tickColor: currentColor;
$tickColorActive: $colorInfo;
$tickColorFocus: $colorInfo;
$labelColorActive: $textColorAccent;
$tickColorActive: var(--colorInfo);
$tickColorFocus: var(--colorInfo);
$labelColorActive: var(--textColorAccent);
input[type="radio"] {
display: none;