Skip to content

Commit

Permalink
fix: apply font-family to text components (#2821)
Browse files Browse the repository at this point in the history
  • Loading branch information
devversion authored and kara committed Feb 1, 2017
1 parent 153fcd3 commit d11673a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/lib/button-toggle/button-toggle.scss
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ md-button-toggle-group {

md-button-toggle {
white-space: nowrap;
font-family: $md-font-family;
}

.md-button-toggle-label-content {
Expand Down
1 change: 1 addition & 0 deletions src/lib/checkbox/checkbox.scss
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ $_md-checkbox-mark-stroke-size: 2 / 15 * $md-checkbox-size !default;

md-checkbox {
cursor: pointer;
font-family: $md-font-family;

// Animation
transition: background $swift-ease-out-duration $swift-ease-out-timing-function,
Expand Down
1 change: 1 addition & 0 deletions src/lib/radio/radio.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ $md-radio-ripple-size: $md-radio-size * 0.75;
// Top-level host container.
md-radio-button {
display: inline-block;
font-family: $md-font-family;
}

// Inner label container, wrapping entire element.
Expand Down
4 changes: 3 additions & 1 deletion src/lib/snack-bar/simple-snack-bar.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@import '../core/style/variables';

md-simple-snackbar {
display: flex;
justify-content: space-between;
Expand All @@ -7,7 +9,7 @@ md-simple-snackbar {
box-sizing: border-box;
border: none;
color: white;
font-family: Roboto, 'Helvetica Neue', sans-serif;
font-family: $md-font-family;
font-size: 14px;
line-height: 20px;
outline: none;
Expand Down

0 comments on commit d11673a

Please sign in to comment.