From d7d257cd299f0f124cd9a6d4115db333d4e466cf Mon Sep 17 00:00:00 2001 From: lynnjepsen Date: Thu, 22 Jun 2017 15:07:05 -0700 Subject: [PATCH] fix(button): Sets text on raised buttons on dark theme to text-primary-on-primary Resolves #819, Raised buttons on dark theme should default to the primary color, which means their text should be text-primary-on-primary --- packages/mdc-button/mdc-button.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/mdc-button/mdc-button.scss b/packages/mdc-button/mdc-button.scss index 4ca6d36ef2b..4667862fc81 100644 --- a/packages/mdc-button/mdc-button.scss +++ b/packages/mdc-button/mdc-button.scss @@ -115,6 +115,7 @@ @include mdc-theme-dark(".mdc-button") { @include mdc-theme-prop(background-color, primary); + @include mdc-theme-prop(color, text-primary-on-primary); // postcss-bem-linter: ignore &::before {