Skip to content

Commit f7f6f61

Browse files
committed
Fixes font hash, since we don't have a hash option from the icon font tool
1 parent df378df commit f7f6f61

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

build/font/scss.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
${{ name }}-font: "{{ name }}" !default;
22
${{ name }}-font-dir: "{{ fontsUrl }}" !default;
33
${{ name }}-font-file: #{${{ name }}-font-dir}/#{${{ name }}-font} !default;
4-
${{ name }}-font-hash: "{{ hash }}" !default;
4+
${{ name }}-font-hash: "8d200481aa7f02a2d63a331fc782cfaf" !default;
55
${{ name }}-font-src: url("#{${{ name }}-font-file}.woff2?#{${{ name }}-font-hash}") format("woff2"), url("#{${{ name }}-font-file}.woff?#{${{ name }}-font-hash}") format("woff") !default;
66

77
@font-face {

font/bootstrap-icons.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
$bootstrap-icons-font: "bootstrap-icons" !default;
2-
$bootstrap-icons-fonts-dir: "./fonts" !default;
3-
$bootstrap-icons-font-file: #{$bootstrap-icons-fonts-dir}/#{$bootstrap-icons-font} !default;
2+
$bootstrap-icons-font-dir: "./fonts" !default;
3+
$bootstrap-icons-font-file: #{$bootstrap-icons-font-dir}/#{$bootstrap-icons-font} !default;
44
$bootstrap-icons-font-hash: "8d200481aa7f02a2d63a331fc782cfaf" !default;
55
$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;
66

0 commit comments

Comments
 (0)