Skip to content

Commit

Permalink
fix(button): remove font-size from base mixin
Browse files Browse the repository at this point in the history
* added for primary (+1 squashed commits)
  • Loading branch information
pimenovoleg committed Jul 30, 2018
1 parent d25f3fd commit 5712747
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/lib-dev/button/template.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
</button>&nbsp;

<button mc-icon-button>
<i mc-icon="mc-angle-L_16"></i>
<i mc-icon="mc-play_16"></i>
default
</button>&nbsp;

Expand Down
3 changes: 0 additions & 3 deletions src/lib/button/_button-base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,6 @@ $mc-icon-button-font: 14px;
border: $mc-button-border-size solid transparent;
border-radius: $mc-button-border-radius;

font-size: inherit;
font-weight: 500;

&::-moz-focus-inner {
border: 0;
}
Expand Down
4 changes: 4 additions & 0 deletions src/lib/button/_button-theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,10 @@
.mc-xl-button,
.mc-icon-button {
@include mc-typography-level-to-styles($config, body);

&.mc-primary {
@include mc-typography-level-to-styles($config, body-strong);
}
}
}

0 comments on commit 5712747

Please sign in to comment.