UX: primary & danger buttons should lighten on hover in dark themes

This commit is contained in:
Kris 2018-09-04 16:17:06 -04:00
parent d8b543bb67
commit 5cf1a9a23a
1 changed files with 8 additions and 2 deletions

View File

@ -88,7 +88,10 @@
}
&:hover,
&.btn-hover {
background: scale-color($tertiary, $lightness: -20%);
background: dark-light-choose(
scale-color($tertiary, $lightness: -20%),
scale-color($tertiary, $lightness: 20%)
);
}
&:active,
&.btn-active {
@ -115,7 +118,10 @@
}
&:hover,
&.btn-hover {
background: scale-color($danger, $lightness: -20%);
background: dark-light-choose(
scale-color($danger, $lightness: -20%),
scale-color($danger, $lightness: 20%)
);
}
&:active,
&.btn-active {