Skip to content

Commit b683d6e

Browse files
authored
Drop FontAwesome static/webfonts file copies, mount package (#1164)
* Drop FontAwesome static/webfonts * Mount webfonts from package
1 parent 4e9b463 commit b683d6e

17 files changed

+6
-8905
lines changed

assets/scss/_variables.scss

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ Bootstrap variables overrides for theme.
44
See https://github.com/twbs/bootstrap/pull/23260
55
*/
66

7-
@fa-font-path : "../webfonts";
8-
97
// Bootstrap flags. For more, see https://getbootstrap.com/docs/4.0/getting-started/theming/
108
$enable-gradients: true !default;
119
$enable-rounded: true !default;

config.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,9 @@ min = "0.73.0"
4848
[[module.mounts]]
4949
source = 'static'
5050
target = 'static'
51+
[[module.mounts]]
52+
source = 'node_modules/@fortawesome/fontawesome-free/webfonts'
53+
target = 'static/webfonts'
5154
# Mounts for projects using Docsy as an NPM package. The source path prefix
5255
# "../.." moves out of themes/docsy so that Docsy can find its dependencies.
5356
[[module.mounts]]
@@ -56,3 +59,6 @@ min = "0.73.0"
5659
[[module.mounts]]
5760
source = '../../node_modules/@fortawesome/fontawesome-free'
5861
target = 'assets/vendor/Font-Awesome'
62+
[[module.mounts]]
63+
source = '../../node_modules/@fortawesome/fontawesome-free/webfonts'
64+
target = 'static/webfonts'

static/webfonts/fa-brands-400.eot

-127 KB
Binary file not shown.

static/webfonts/fa-brands-400.svg

Lines changed: 0 additions & 3451 deletions
This file was deleted.

static/webfonts/fa-brands-400.ttf

-126 KB
Binary file not shown.

static/webfonts/fa-brands-400.woff

-85.6 KB
Binary file not shown.
-73 KB
Binary file not shown.

static/webfonts/fa-regular-400.eot

-33.6 KB
Binary file not shown.

static/webfonts/fa-regular-400.svg

Lines changed: 0 additions & 803 deletions
This file was deleted.

static/webfonts/fa-regular-400.ttf

-33.3 KB
Binary file not shown.

0 commit comments

Comments
 (0)