Skip to content

Commit

Permalink
Fixes font hash, since we don't have a hash option from the icon font…
Browse files Browse the repository at this point in the history
… tool
  • Loading branch information
mdo committed Jul 16, 2022
1 parent df378df commit f7f6f61
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build/font/scss.hbs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
${{ name }}-font: "{{ name }}" !default;
${{ name }}-font-dir: "{{ fontsUrl }}" !default;
${{ name }}-font-file: #{${{ name }}-font-dir}/#{${{ name }}-font} !default;
${{ name }}-font-hash: "{{ hash }}" !default;
${{ name }}-font-hash: "8d200481aa7f02a2d63a331fc782cfaf" !default;
${{ name }}-font-src: url("#{${{ name }}-font-file}.woff2?#{${{ name }}-font-hash}") format("woff2"), url("#{${{ name }}-font-file}.woff?#{${{ name }}-font-hash}") format("woff") !default;

@font-face {
Expand Down
4 changes: 2 additions & 2 deletions font/bootstrap-icons.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
$bootstrap-icons-font: "bootstrap-icons" !default;
$bootstrap-icons-fonts-dir: "./fonts" !default;
$bootstrap-icons-font-file: #{$bootstrap-icons-fonts-dir}/#{$bootstrap-icons-font} !default;
$bootstrap-icons-font-dir: "./fonts" !default;
$bootstrap-icons-font-file: #{$bootstrap-icons-font-dir}/#{$bootstrap-icons-font} !default;
$bootstrap-icons-font-hash: "8d200481aa7f02a2d63a331fc782cfaf" !default;
$bootstrap-icons-font-src: url("#{$bootstrap-icons-font-file}.woff2?#{$bootstrap-icons-font-hash}") format("woff2"), url("#{$bootstrap-icons-font-file}.woff?#{$bootstrap-icons-font-hash}") format("woff") !default;

Expand Down

0 comments on commit f7f6f61

Please sign in to comment.