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

@@ -42,8 +42,8 @@
}
&.active, &:hover {
background: $lensBlue;
color: $sidebarActiveColor;
background: var(--blue);
color: var(--sidebarActiveColor);
}
.expand-icon {
@@ -56,11 +56,11 @@
border-left: $borderSize solid transparent;
&.active {
border-left-color: $lensBlue;
border-left-color: var(--blue);
}
> .SidebarItem {
color: $textColorPrimary;
color: var(--textColorPrimary);
padding-left: 30px + $borderSize;
line-height: 22px;
@@ -74,7 +74,7 @@
}
&.active, &:hover {
color: $sidebarSubmenuActiveColor;
color: var(--sidebarSubmenuActiveColor);
background: none;
}
}
@@ -20,7 +20,7 @@
*/
.SubHeader {
color: $textColorAccent;
color: var(--textColorAccent);
font-weight: $font-weight-bold;
text-align: center;
@@ -29,6 +29,6 @@
}
&.withLine {
border-bottom: 1px solid $borderColor;
border-bottom: 1px solid var(--borderColor);
}
}
@@ -26,7 +26,7 @@
height: 100%;
> .Tabs {
background: $layoutTabsBackground;
background: var(--layoutTabsBackground);
min-height: 32px;
}
@@ -38,12 +38,12 @@
> .head-col {
position: sticky;
justify-content: space-between;
background-color: $clusterMenuBackground;
background-color: var(--clusterMenuBackground);
}
> .content-col {
margin-right: $spacing;
background-color: $contentColor;
background-color: var(--contentColor);
border-radius: $radius;
> div {
@@ -58,7 +58,7 @@
}
> .info-col {
background-color: $contentColor;
background-color: var(--contentColor);
}
p {
@@ -66,7 +66,7 @@
}
a {
color: $colorInfo;
color: var(--colorInfo);
}
&.centered {