fix(front): remove manual hash and use absolute directory for bootstrap icons

This commit is contained in:
ArneBo 2025-05-30 21:54:01 +02:00 committed by Arne Bollinger
parent ad1ca7658c
commit 0d9c5e77c4
1 changed files with 3 additions and 4 deletions

View File

@ -5,11 +5,10 @@
*/ */
$bootstrap-icons-font: "bootstrap-icons" !default; $bootstrap-icons-font: "bootstrap-icons" !default;
$bootstrap-icons-font-dir: "./fonts" !default; $bootstrap-icons-font-dir: "~/style/bootstrap-icons/font/fonts" !default;
$bootstrap-icons-font-file: "#{$bootstrap-icons-font-dir}/#{$bootstrap-icons-font}" !default; $bootstrap-icons-font-file: "#{$bootstrap-icons-font-dir}/#{$bootstrap-icons-font}" !default;
$bootstrap-icons-font-hash: "24e3eb84d0bcaf83d77f904c78ac1f47" !default; $bootstrap-icons-font-src: url("#{$bootstrap-icons-font-file}.woff2") format("woff2"),
$bootstrap-icons-font-src: url("#{$bootstrap-icons-font-file}.woff2?#{$bootstrap-icons-font-hash}") format("woff2"), url("#{$bootstrap-icons-font-file}.woff") format("woff") !default;
url("#{$bootstrap-icons-font-file}.woff?#{$bootstrap-icons-font-hash}") format("woff") !default;
@font-face { @font-face {
font-display: block; font-display: block;