mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06: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,
|
&:hover,
|
||||||
&.btn-hover {
|
&.btn-hover {
|
||||||
background: scale-color($tertiary, $lightness: -20%);
|
background: dark-light-choose(
|
||||||
|
scale-color($tertiary, $lightness: -20%),
|
||||||
|
scale-color($tertiary, $lightness: 20%)
|
||||||
|
);
|
||||||
}
|
}
|
||||||
&:active,
|
&:active,
|
||||||
&.btn-active {
|
&.btn-active {
|
||||||
@ -115,7 +118,10 @@
|
|||||||
}
|
}
|
||||||
&:hover,
|
&:hover,
|
||||||
&.btn-hover {
|
&.btn-hover {
|
||||||
background: scale-color($danger, $lightness: -20%);
|
background: dark-light-choose(
|
||||||
|
scale-color($danger, $lightness: -20%),
|
||||||
|
scale-color($danger, $lightness: 20%)
|
||||||
|
);
|
||||||
}
|
}
|
||||||
&:active,
|
&:active,
|
||||||
&.btn-active {
|
&.btn-active {
|
||||||
|
Loading…
Reference in New Issue
Block a user