mirror of
https://github.com/prymitive/karma
synced 2026-05-09 03:36:44 +00:00
Merge pull request #649 from prymitive/fonts
fix(ui): provide empty css file to import instead of Google fonts
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
// this is used by bootswatch to import the font, zero it since we import all
|
||||
// fonts below
|
||||
$web-font-path: "";
|
||||
// this is used by bootswatch to import the font, we bundle all fonts so there
|
||||
// is nothing to import, so let's point it at an empty file
|
||||
// https://github.com/thomaspark/bootswatch/issues/55
|
||||
$web-font-path: "./empty.css";
|
||||
|
||||
@font-face {
|
||||
font-display: swap;
|
||||
|
||||
1
ui/src/empty.css
Normal file
1
ui/src/empty.css
Normal file
@@ -0,0 +1 @@
|
||||
/* Empty css file to be included by bootswatch, see Fonts.scss */
|
||||
Reference in New Issue
Block a user