Skip to content

Commit

Permalink
fix(button): Add mdc-typography-base to button (#949)
Browse files Browse the repository at this point in the history
Resolves #942
  • Loading branch information
lynnmercier authored and yeelan0319 committed Jul 17, 2017
1 parent 8cd7f8a commit 3b80525
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
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"
}
}

0 comments on commit 3b80525

Please sign in to comment.