mirror of https://github.com/keeweb/keeweb.git
removed extra variable
This commit is contained in:
parent
0a873ac9c8
commit
1618ff0109
|
@ -25,7 +25,7 @@
|
|||
&.btn-error, &.btn-silent {
|
||||
border-color: th(base-border-color);
|
||||
background-color: transparent;
|
||||
color: th(text-contrast-background-color);
|
||||
color: th(text-color);
|
||||
}
|
||||
|
||||
&:hover {
|
||||
|
|
|
@ -1,7 +1,4 @@
|
|||
@function text-contrast-color($t, $bg) {
|
||||
@if ($bg == map-get($t, background-color)) {
|
||||
@return map-get($t, text-color);
|
||||
}
|
||||
@if (lightness($bg) - map-get($t, color-lightness-shift) >= lightness(map-get($t, background-color))) {
|
||||
@return map-get($t, text-color);
|
||||
}
|
||||
|
@ -18,7 +15,6 @@
|
|||
text-semi-muted-color: mix(map-get($t, action-color), map-get($t, text-color), .5),
|
||||
text-contrast-action-color: text-contrast-color($t, map-get($t, action-color)),
|
||||
text-contrast-error-color: text-contrast-color($t, map-get($t, error-color)),
|
||||
text-contrast-background-color: text-contrast-color($t, map-get($t, background-color)),
|
||||
|
||||
// Borders, shadows
|
||||
base-border-color: mix(map-get($t, medium-color), map-get($t, background-color), 50%),
|
||||
|
|
|
@ -14,7 +14,6 @@
|
|||
--text-semi-muted-color: #424244;
|
||||
--text-contrast-action-color: #FAFAFA;
|
||||
--text-contrast-error-color: #FAFAFA;
|
||||
--text-contrast-background-color: #424243;
|
||||
--base-border-color: gray;
|
||||
--accent-border-color: #5b5b5b;
|
||||
--light-border-color: #e2e2e2;
|
||||
|
|
Loading…
Reference in New Issue