Skip to content

Commit

Permalink
Drop FontAwesome static/webfonts file copies, mount package (google#1164
Browse files Browse the repository at this point in the history
)

* Drop FontAwesome static/webfonts
* Mount webfonts from package
  • Loading branch information
chalin authored and fekete-robert committed Sep 13, 2022
1 parent 56f8b7d commit 8026abe
Show file tree
Hide file tree
Showing 17 changed files with 6 additions and 8,905 deletions.
2 changes: 0 additions & 2 deletions assets/scss/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ Bootstrap variables overrides for theme.
See https://github.com/twbs/bootstrap/pull/23260
*/

@fa-font-path : "../webfonts";

// Bootstrap flags. For more, see https://getbootstrap.com/docs/4.0/getting-started/theming/
$enable-gradients: true !default;
$enable-rounded: true !default;
Expand Down
6 changes: 6 additions & 0 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ min = "0.73.0"
[[module.mounts]]
source = 'static'
target = 'static'
[[module.mounts]]
source = 'node_modules/@fortawesome/fontawesome-free/webfonts'
target = 'static/webfonts'
# Mounts for projects using Docsy as an NPM package. The source path prefix
# "../.." moves out of themes/docsy so that Docsy can find its dependencies.
[[module.mounts]]
Expand All @@ -56,3 +59,6 @@ min = "0.73.0"
[[module.mounts]]
source = '../../node_modules/@fortawesome/fontawesome-free'
target = 'assets/vendor/Font-Awesome'
[[module.mounts]]
source = '../../node_modules/@fortawesome/fontawesome-free/webfonts'
target = 'static/webfonts'
Binary file removed static/webfonts/fa-brands-400.eot
Binary file not shown.
3,451 changes: 0 additions & 3,451 deletions static/webfonts/fa-brands-400.svg

This file was deleted.

Binary file removed static/webfonts/fa-brands-400.ttf
Binary file not shown.
Binary file removed static/webfonts/fa-brands-400.woff
Binary file not shown.
Binary file removed static/webfonts/fa-brands-400.woff2
Binary file not shown.
Binary file removed static/webfonts/fa-regular-400.eot
Binary file not shown.
803 changes: 0 additions & 803 deletions static/webfonts/fa-regular-400.svg

This file was deleted.

Binary file removed static/webfonts/fa-regular-400.ttf
Binary file not shown.
Binary file removed static/webfonts/fa-regular-400.woff
Binary file not shown.
Binary file removed static/webfonts/fa-regular-400.woff2
Binary file not shown.
Binary file removed static/webfonts/fa-solid-900.eot
Binary file not shown.
4,649 changes: 0 additions & 4,649 deletions static/webfonts/fa-solid-900.svg

This file was deleted.

Binary file removed static/webfonts/fa-solid-900.ttf
Binary file not shown.
Binary file removed static/webfonts/fa-solid-900.woff
Binary file not shown.
Binary file removed static/webfonts/fa-solid-900.woff2
Binary file not shown.

0 comments on commit 8026abe

Please sign in to comment.