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

Commit 3b80525

Browse files
lynnmercieryeelan0319
authored andcommitted
fix(button): Add mdc-typography-base to button (#949)
Resolves #942
1 parent 8cd7f8a commit 3b80525

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

packages/mdc-button/mdc-button.scss

+2
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
@import "@material/elevation/mixins";
2020
@import "@material/ripple/mixins";
2121
@import "@material/theme/mixins";
22+
@import "@material/typography/mixins";
2223

2324
// postcss-bem-linter: define button
2425

@@ -27,6 +28,7 @@
2728
@include mdc-ripple-bg((pseudo: "::before"));
2829
@include mdc-ripple-fg((pseudo: "::after"));
2930
@include mdc-theme-prop(color, text-primary-on-light);
31+
@include mdc-typography-base;
3032

3133
display: inline-block;
3234
position: relative;

packages/mdc-button/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"@material/animation": "^0.2.3",
1717
"@material/elevation": "^0.1.9",
1818
"@material/ripple": "^0.8.0",
19-
"@material/theme": "^0.1.5"
19+
"@material/theme": "^0.1.5",
20+
"@material/typography": "^0.2.2"
2021
}
2122
}

0 commit comments

Comments
 (0)