Accessibility: Restore the primary buttons original background color for alternate color schemes after [46241].

Props david.binda, audrasjb, azaozz.
See #34904.
Fixes #48396.


git-svn-id: https://develop.svn.wordpress.org/trunk@46575 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrea Fercia 2019-10-23 20:55:31 +00:00
parent aa34f0d952
commit 5952a5dcf7

View File

@ -40,8 +40,8 @@
&.button-primary-disabled,
&.disabled {
color: hsl( hue( $button-color ), 10%, 80% ) !important;
background: lighten( $button-color, 15% ) !important;
border-color: lighten( $button-color, 15% ) !important;
background: darken( $button-color, 8% ) !important;
border-color: darken( $button-color, 8% ) !important;
text-shadow: none !important;
}
}