Skip to content

Commit

Permalink
Fix button and input font
Browse files Browse the repository at this point in the history
Commit adaa960 accidentally left all
buttons and text inputs to fall back to `sans-serif` as a font, rather
than use the font the rest of the app uses.

This commit adds two partials which mimics how Bitters is structured:
https://github.com/thoughtbot/bitters/tree/master/core
  • Loading branch information
tysongach committed Jun 2, 2017
1 parent dfed6ab commit 31e1f4e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/assets/stylesheets/base/_base.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
@import "variables";

@import "animations";
@import "buttons";
@import "extends";
@import "forms";
@import "helpers";
@import "tables";
@import "typography";
3 changes: 3 additions & 0 deletions app/assets/stylesheets/base/_buttons.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#{$all-buttons} {
font-family: $font-family-default;
}
3 changes: 3 additions & 0 deletions app/assets/stylesheets/base/_forms.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#{$all-text-inputs} {
font-family: $font-family-default;
}

0 comments on commit 31e1f4e

Please sign in to comment.