mirror of
https://github.com/discourse/discourse.git
synced 2025-02-18 01:05:00 +00:00
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…
x
Reference in New Issue
Block a user