diff --git a/ui/src/Fonts.scss b/ui/src/Fonts.scss index dd0529785..28d9a8f2f 100644 --- a/ui/src/Fonts.scss +++ b/ui/src/Fonts.scss @@ -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; diff --git a/ui/src/empty.css b/ui/src/empty.css new file mode 100644 index 000000000..88e46d2be --- /dev/null +++ b/ui/src/empty.css @@ -0,0 +1 @@ +/* Empty css file to be included by bootswatch, see Fonts.scss */