Fix asset root paths

This commit is contained in:
Andreas Nedbal 2023-01-03 14:06:56 +01:00 committed by Andreas Nedbal
parent 8d970ce47b
commit 2bb4f5355c
2 changed files with 5 additions and 5 deletions

View file

@ -1,7 +1,7 @@
// Font settings
$lexend-font-path: "/assets";
$lexend-font-path: ".";
$lexend-weights: 500, 600;
$fa-font-path: "/assets";
$fa-font-path: ".";
$font-family-sans-serif: "Lexend", "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
$font-family-serif: Georgia, "DejaVu Serif", "Times New Roman", Times, serif;

View file

@ -25,7 +25,7 @@
@each $weight in $lexend-weights {
@include Lexend.fontFace($weight: $weight,
$display: fallback,
$fontDir: "/assets"
$fontDir: "."
);
}
@ -37,8 +37,8 @@ $unicodeRangeValues in Lexend.$unicodeMap {
font-style: normal;
font-display: swap;
font-weight: 400;
src: url("/assets/lexend-#{$subset}-300-normal.woff2") format("woff2"),
url("/assets/lexend-all-300-normal.woff") format("woff");
src: url("lexend-#{$subset}-300-normal.woff2") format("woff2"),
url("lexend-all-300-normal.woff") format("woff");
unicode-range: $unicodeRangeValues;
}
}