mirror of
https://github.com/ForkAwesome/Fork-Awesome.git
synced 2025-04-02 22:59:16 +08:00

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.)
19 lines
716 B
Plaintext
19 lines
716 B
Plaintext
---
|
|
---
|
|
// Variables
|
|
// --------------------------
|
|
|
|
@fa-font-path: "../fonts";
|
|
@fa-font-size-base: 14px;
|
|
@fa-line-height-base: 1;
|
|
//@fa-font-path: "//netdna.bootstrapcdn.com/font-awesome/{{site.fontawesome.version}}/fonts"; // for referencing Bootstrap CDN font files directly
|
|
@fa-css-prefix: {{ site.fontawesome.css_prefix }};
|
|
@fa-font-family: {{ site.fontawesome.font_family }};
|
|
@fa-version: "{{ site.fontawesome.version }}";
|
|
@fa-border-color: #eee;
|
|
@fa-inverse: #fff;
|
|
@fa-li-width: (30em / 14);
|
|
|
|
{% assign sorted_icons = icons | expand_aliases | sort_by:'class' %}{% for icon in sorted_icons %}@fa-var-{{ icon.class }}: "\{{ icon.unicode }}";
|
|
{% endfor %}
|