diff options
author | James Johnston <james.johnston@thumbtack.com> | 2016-12-21 09:59:54 +0300 |
---|---|---|
committer | James Johnston <james.johnston@thumbtack.com> | 2016-12-21 09:59:54 +0300 |
commit | cac2895612ccb8adbf746534c2448e0592f77363 (patch) | |
tree | 636d596df8cc015dcda09673dea20c5b36dbc5c1 /scss/_core.scss | |
parent | 63e9e06e8e20049d0cf63778069803651fc62e3f (diff) |
Allow custom naming of font family
This allows multiple variations/versions of Font Awesome to be used,
similar to the namespacing currently allowed by the $fa-css-prefix
variable.
(And also allows us to more easily use a third-party library that makes
hard-coded non-default assumptions about the font face name.)
Diffstat (limited to 'scss/_core.scss')
-rw-r--r-- | scss/_core.scss | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scss/_core.scss b/scss/_core.scss index 7425ef85f..e5a87b59d 100644 --- a/scss/_core.scss +++ b/scss/_core.scss @@ -3,7 +3,7 @@ .#{$fa-css-prefix} { display: inline-block; - font: normal normal normal #{$fa-font-size-base}/#{$fa-line-height-base} FontAwesome; // shortening font declaration + font: normal normal normal #{$fa-font-size-base}/#{$fa-line-height-base} #{$fa-font-family}; // shortening font declaration font-size: inherit; // can't have font-size inherit on line above, so need to override text-rendering: auto; // optimizelegibility throws things off #1094 -webkit-font-smoothing: antialiased; |