Skip to content
This repository was archived by the owner on Jan 13, 2025. It is now read-only.

Commit 7f3e668

Browse files
committed
fix(button): Sets text on raised buttons on dark theme to text-primary-on-primary (#853)
Resolves #819, Raised buttons on dark theme should default to the primary color, which means their text should be text-primary-on-primary
1 parent 7b24d01 commit 7f3e668

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/mdc-button/mdc-button.scss

+1
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@
115115

116116
@include mdc-theme-dark(".mdc-button") {
117117
@include mdc-theme-prop(background-color, primary);
118+
@include mdc-theme-prop(color, text-primary-on-primary);
118119

119120
// postcss-bem-linter: ignore
120121
&::before {

0 commit comments

Comments
 (0)