mdc-button--theme-dark
with :disabled
, doesn't properly set background-color
or color
#1031
Labels
mdc-button--theme-dark
with :disabled
, doesn't properly set background-color
or color
#1031
Check out the latest code and run
npm run dev
, navigate to http://localhost:8080/button.html (The latest version of the demo page is not available on https://material-components-web.appspot.com/button.html yet)The
mdc-theme--dark
section shows a disabled button with grey textHowever, the
mdc-button--theme-dark
section shows a disabled button with black text.The second section,
mdc-button--theme-dark
, has the bug. The disabled button should have grey text.The fix is to correctly use the
@include mdc-theme-dark(".mdc-button")
within the:disabled
context of mdc-button.scss. It needs to be updated tomdc-theme-dark
mixin requires$compound
to be set to true if the...and
:disabled
is a compound selector with.mdc-button
.The text was updated successfully, but these errors were encountered: