Skip to content

Commit

Permalink
fix(button): moving button's typography in specific button's classes (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
Margar1ta authored and pimenovoleg committed Sep 30, 2019
1 parent 184c45e commit 904a1fc
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions packages/mosaic/button/_button-theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -162,14 +162,13 @@
}

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

.mc-second,
.mc-error,
.mc-button,
.mc-icon-button {
@include mc-typography-level-to-styles($config, body);

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

.mc-icon-button.mc-button-wrapper {
Expand Down

0 comments on commit 904a1fc

Please sign in to comment.