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
@@ -31,7 +31,7 @@
|
||||
margin-right: var(--flex-gap) !important;
|
||||
|
||||
.Icon {
|
||||
color: $textColorAccent;
|
||||
color: var(--textColorAccent);
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -20,14 +20,14 @@
|
||||
*/
|
||||
|
||||
.Menu {
|
||||
--bgc: #{$layoutBackground};
|
||||
--bgc: var(--layoutBackground);
|
||||
|
||||
position: absolute;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
background: var(--bgc);
|
||||
list-style: none;
|
||||
border: 1px solid $borderColor;
|
||||
border: 1px solid var(--borderColor);
|
||||
z-index: 101;
|
||||
box-shadow: rgba(0,0,0,0.24) 0px 8px 16px 0px;
|
||||
border-radius: 4px;
|
||||
@@ -63,9 +63,9 @@
|
||||
}
|
||||
|
||||
.MenuItem {
|
||||
--color: #{$textColorPrimary};
|
||||
--color-active: #{$textColorAccent};
|
||||
--bgc-active: #{$menuActiveBackground};
|
||||
--color: var(--textColorPrimary);
|
||||
--color-active: var(--textColorAccent);
|
||||
--bgc-active: var(--menuActiveBackground);
|
||||
--spacing: #{$padding};
|
||||
|
||||
position: relative;
|
||||
@@ -85,7 +85,7 @@
|
||||
}
|
||||
|
||||
&:focus {
|
||||
outline: 2px solid $colorInfo;
|
||||
outline: 2px solid var(--colorInfo);
|
||||
}
|
||||
|
||||
&.active {
|
||||
@@ -103,7 +103,7 @@
|
||||
padding: 0;
|
||||
height: 0;
|
||||
overflow: hidden;
|
||||
border-top: 1px solid $contentColor;
|
||||
border-top: 1px solid var(--contentColor);
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user