Skip to content

Commit

Permalink
feat: update Font Awesome and add Regular variant (#375)
Browse files Browse the repository at this point in the history
Updates the Font Aweseome version and adds the regular variant.
  • Loading branch information
omenos committed Jul 13, 2022
1 parent 6f25883 commit 1d18d09
Show file tree
Hide file tree
Showing 11 changed files with 19 additions and 5 deletions.
4 changes: 2 additions & 2 deletions assets/fontawesome/css/brands.min.css

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions assets/fontawesome/css/fontawesome.min.css

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions assets/fontawesome/css/regular.min.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
/*!
* Font Awesome Free 6.1.1 by @fontawesome - https://fontawesome.com
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
* Copyright 2022 Fonticons, Inc.
*/
:host,:root{--fa-font-regular:normal 400 1em/1 "Font Awesome 6 Free"}@font-face{font-family:"Font Awesome 6 Free";font-style:normal;font-weight:400;font-display:block;src:url(../webfonts/fa-regular-400.woff2) format("woff2"),url(../webfonts/fa-regular-400.ttf) format("truetype")}.fa-regular,.far{font-family:"Font Awesome 6 Free";font-weight:400}
2 changes: 1 addition & 1 deletion assets/fontawesome/css/solid.min.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Font Awesome Free 6.0.0 by @fontawesome - https://fontawesome.com
* Font Awesome Free 6.1.1 by @fontawesome - https://fontawesome.com
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
* Copyright 2022 Fonticons, Inc.
*/
Expand Down
8 changes: 8 additions & 0 deletions layouts/partials/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,14 @@
crossorigin="anonymous"
type="text/css"
/>
{{ $style := resources.Get "fontawesome/css/regular.min.css" | resources.Fingerprint }}
<link
rel="stylesheet"
href="{{ $style.RelPermalink }}"
integrity="{{ $style.Data.Integrity }}"
crossorigin="anonymous"
type="text/css"
/>
{{ $style := resources.Get "fontawesome/css/brands.min.css" | resources.Fingerprint }}
<link
rel="stylesheet"
Expand Down
Binary file modified static/fontawesome/webfonts/fa-brands-400.ttf
Binary file not shown.
Binary file modified static/fontawesome/webfonts/fa-brands-400.woff2
Binary file not shown.
Binary file added static/fontawesome/webfonts/fa-regular-400.ttf
Binary file not shown.
Binary file added static/fontawesome/webfonts/fa-regular-400.woff2
Binary file not shown.
Binary file modified static/fontawesome/webfonts/fa-solid-900.ttf
Binary file not shown.
Binary file modified static/fontawesome/webfonts/fa-solid-900.woff2
Binary file not shown.

0 comments on commit 1d18d09

Please sign in to comment.