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
@@ -20,8 +20,8 @@
|
||||
*/
|
||||
|
||||
.NodeDetails {
|
||||
--status-ready-bg: #{$colorOk};
|
||||
--status-default-bg: #{$colorError};
|
||||
--status-ready-bg: var(--colorOk);
|
||||
--status-default-bg: var(--colorError);
|
||||
|
||||
.conditions {
|
||||
@include node-status-bgs;
|
||||
|
||||
@@ -28,7 +28,7 @@ $node-status-color-list: (
|
||||
ready: #4caf50,
|
||||
scheduling-disabled: #ff9800,
|
||||
invalid-license: #ce3933,
|
||||
cordoned: $colorWarning
|
||||
cordoned: var(--colorWarning)
|
||||
);
|
||||
|
||||
@mixin node-status-bgs {
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
align-self: center;
|
||||
|
||||
.LineProgress {
|
||||
color: $lensBlue;
|
||||
color: var(--blue);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
align-self: center;
|
||||
|
||||
.LineProgress {
|
||||
color: $lensMagenta;
|
||||
color: var(--magenta);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -55,7 +55,7 @@
|
||||
align-self: center;
|
||||
|
||||
.LineProgress {
|
||||
color: $golden;
|
||||
color: var(--golden);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user