removed extra variable

This commit is contained in:
antelle 2017-04-27 08:12:32 +02:00
parent 0a873ac9c8
commit 1618ff0109
3 changed files with 1 additions and 6 deletions

View File

@ -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 {

View File

@ -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%),

View File

@ -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;