diff --git a/src/lib/button/_button-theme.scss b/src/lib/button/_button-theme.scss index c0f2c88548cd..4d23b7b6e8a9 100644 --- a/src/lib/button/_button-theme.scss +++ b/src/lib/button/_button-theme.scss @@ -120,6 +120,10 @@ @mixin mat-button-typography($config) { .mat-button, .mat-raised-button, .mat-icon-button { - @include mat-typography-level-to-styles($config, button); + font: { + family: mat-font-family($config); + size: mat-font-size($config, button); + weight: mat-font-weight($config, button); + } } } diff --git a/src/lib/tabs/_tabs-theme.scss b/src/lib/tabs/_tabs-theme.scss index f22571fa63b5..28f0b488f23e 100644 --- a/src/lib/tabs/_tabs-theme.scss +++ b/src/lib/tabs/_tabs-theme.scss @@ -46,6 +46,10 @@ } .mat-tab-label, .mat-tab-link { - @include mat-typography-level-to-styles($config, button); + font: { + family: mat-font-family($config); + size: mat-font-size($config, button); + weight: mat-font-weight($config, button); + } } }