Skip to content

Commit 5c754f6

Browse files
committed
Load the web fonts from local asset files
1 parent cfa931a commit 5c754f6

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

assets/scss/app.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
// setting the value of this variable to an empty data URL is the only working solution
2+
// to load the Bootswatch web fonts locally and avoid loading them from Google servers
3+
// see https://github.com/thomaspark/bootswatch/issues/55#issuecomment-298093182
4+
$web-font-path: 'data:text/css;base64,';
5+
16
@import "~bootswatch/flatly/variables";
27
@import "~bootstrap-sass/assets/stylesheets/bootstrap";
38
@import "~bootswatch/flatly/bootswatch";

web/build/css/app.css

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)