mirror of
https://github.com/ForkAwesome/Fork-Awesome.git
synced 2024-12-28 06:21:32 +08:00
cac2895612
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.)
16 lines
777 B
Plaintext
16 lines
777 B
Plaintext
/* FONT PATH
|
|
* -------------------------- */
|
|
|
|
@font-face {
|
|
font-family: '@{fa-font-family}';
|
|
src: url('@{fa-font-path}/fontawesome-webfont.eot?v=@{fa-version}');
|
|
src: url('@{fa-font-path}/fontawesome-webfont.eot?#iefix&v=@{fa-version}') format('embedded-opentype'),
|
|
url('@{fa-font-path}/fontawesome-webfont.woff2?v=@{fa-version}') format('woff2'),
|
|
url('@{fa-font-path}/fontawesome-webfont.woff?v=@{fa-version}') format('woff'),
|
|
url('@{fa-font-path}/fontawesome-webfont.ttf?v=@{fa-version}') format('truetype'),
|
|
url('@{fa-font-path}/fontawesome-webfont.svg?v=@{fa-version}#fontawesomeregular') format('svg');
|
|
// src: url('@{fa-font-path}/FontAwesome.otf') format('opentype'); // used when developing fonts
|
|
font-weight: normal;
|
|
font-style: normal;
|
|
}
|