Skip to content

Commit d11673a

Browse files
devversionkara
authored andcommitted
fix: apply font-family to text components (#2821)
1 parent 153fcd3 commit d11673a

File tree

4 files changed

+6
-1
lines changed

4 files changed

+6
-1
lines changed

src/lib/button-toggle/button-toggle.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ md-button-toggle-group {
3434

3535
md-button-toggle {
3636
white-space: nowrap;
37+
font-family: $md-font-family;
3738
}
3839

3940
.md-button-toggle-label-content {

src/lib/checkbox/checkbox.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,7 @@ $_md-checkbox-mark-stroke-size: 2 / 15 * $md-checkbox-size !default;
188188

189189
md-checkbox {
190190
cursor: pointer;
191+
font-family: $md-font-family;
191192

192193
// Animation
193194
transition: background $swift-ease-out-duration $swift-ease-out-timing-function,

src/lib/radio/radio.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ $md-radio-ripple-size: $md-radio-size * 0.75;
88
// Top-level host container.
99
md-radio-button {
1010
display: inline-block;
11+
font-family: $md-font-family;
1112
}
1213

1314
// Inner label container, wrapping entire element.

src/lib/snack-bar/simple-snack-bar.scss

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
@import '../core/style/variables';
2+
13
md-simple-snackbar {
24
display: flex;
35
justify-content: space-between;
@@ -7,7 +9,7 @@ md-simple-snackbar {
79
box-sizing: border-box;
810
border: none;
911
color: white;
10-
font-family: Roboto, 'Helvetica Neue', sans-serif;
12+
font-family: $md-font-family;
1113
font-size: 14px;
1214
line-height: 20px;
1315
outline: none;

0 commit comments

Comments
 (0)