Fix asset root paths
This commit is contained in:
parent
8d970ce47b
commit
2bb4f5355c
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue