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

+5 -5
View File
@@ -29,7 +29,7 @@
text-decoration: none;
cursor: pointer;
border-radius: $radius;
background: $buttonDefaultBackground;
background: var(--buttonDefaultBackground);
padding: round($padding * .9) $padding * 1.5;
flex-shrink: 0;
line-height: 1;
@@ -41,15 +41,15 @@
}
&.primary {
background: $buttonPrimaryBackground;
background: var(--buttonPrimaryBackground);
}
&.accent {
background: $buttonAccentBackground;
background: var(--buttonAccentBackground);
}
&.light {
background-color: $buttonLightBackground;
background-color: var(--buttonLightBackground);
color: #505050;
}
@@ -65,7 +65,7 @@
&.active,
&:focus:not(:active) {
color: $buttonPrimaryBackground;
color: var(--buttonPrimaryBackground);
box-shadow: 0 0 0 1px inset;
}
}