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
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user