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

fix(button): Add mdc-typography-base to button #949

Merged
merged 1 commit into from
Jul 17, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions packages/mdc-button/mdc-button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
@import "@material/elevation/mixins";
@import "@material/ripple/mixins";
@import "@material/theme/mixins";
@import "@material/typography/mixins";

// postcss-bem-linter: define button

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

display: inline-block;
position: relative;
Expand Down
3 changes: 2 additions & 1 deletion packages/mdc-button/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"@material/animation": "^0.2.3",
"@material/elevation": "^0.1.9",
"@material/ripple": "^0.8.0",
"@material/theme": "^0.1.5"
"@material/theme": "^0.1.5",
"@material/typography": "^0.2.2"
}
}