Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/icons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/font
diff options
context:
space:
mode:
authorGeoSot <geo.sotis@gmail.com>2021-12-28 05:30:43 +0300
committerMark Otto <otto@github.com>2022-07-17 01:28:23 +0300
commit27860fdc9ae8288ebb47db5206d9e24243fb09a6 (patch)
tree6e8446c2508060a302c33364cd321aca477bf0cc /font
parentaa1ede051cd0cbc369be31ea097856e673e3573b (diff)
Update font Sass for more control over paths
Diffstat (limited to 'font')
-rw-r--r--font/bootstrap-icons.scss6
1 files changed, 4 insertions, 2 deletions
diff --git a/font/bootstrap-icons.scss b/font/bootstrap-icons.scss
index 0514e5acc..79db859b3 100644
--- a/font/bootstrap-icons.scss
+++ b/font/bootstrap-icons.scss
@@ -1,6 +1,8 @@
$bootstrap-icons-font: "bootstrap-icons" !default;
-$bootstrap-icons-font-src: url("./fonts/bootstrap-icons.woff2?48804dbfe98a9c8a08858a0de0b0e3db") format("woff2"),
-url("./fonts/bootstrap-icons.woff?48804dbfe98a9c8a08858a0de0b0e3db") format("woff") !default;
+$bootstrap-icons-fonts-dir: "./fonts" !default;
+$bootstrap-icons-font-file: #{$bootstrap-icons-fonts-dir}/#{$bootstrap-icons-font} !default;
+$bootstrap-icons-font-hash: "48804dbfe98a9c8a08858a0de0b0e3db" !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;
@font-face {
font-family: $bootstrap-icons-font;