UX: primary & danger buttons should lighten on hover in dark themes
This commit is contained in:
parent
d8b543bb67
commit
5cf1a9a23a
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue