From cac2895612ccb8adbf746534c2448e0592f77363 Mon Sep 17 00:00:00 2001 From: James Johnston Date: Tue, 20 Dec 2016 22:59:54 -0800 Subject: 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.) --- less/core.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'less/core.less') diff --git a/less/core.less b/less/core.less index c577ac84a..462762260 100644 --- a/less/core.less +++ b/less/core.less @@ -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; -- cgit v1.2.3