Use Lexend 300 as 400
This commit is contained in:
parent
16ac195ab9
commit
9e52d5b623
|
@ -1,6 +1,6 @@
|
||||||
// Font settings
|
// Font settings
|
||||||
$lexend-font-path: "~@fontsource/lexend/files";
|
$lexend-font-path: "~@fontsource/lexend/files";
|
||||||
$lexend-weights: 400, 500, 600;
|
$lexend-weights: 500, 600;
|
||||||
$fa-font-path: "~font-awesome/fonts";
|
$fa-font-path: "~font-awesome/fonts";
|
||||||
|
|
||||||
$font-family-sans-serif: "Lexend", "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
$font-family-sans-serif: "Lexend", "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||||
|
|
|
@ -32,6 +32,19 @@
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Using Lexend Light (300) as Regular (400) as Regular is quite thick.
|
||||||
|
@each $subset, $unicodeRangeValues in Lexend.$unicodeMap {
|
||||||
|
@font-face {
|
||||||
|
font-family: Lexend;
|
||||||
|
font-style: normal;
|
||||||
|
font-display: swap;
|
||||||
|
font-weight: 400;
|
||||||
|
src: url("#{Lexend.$fontDir}/lexend-#{$subset}-300-normal.woff2") format("woff2"),
|
||||||
|
url("#{Lexend.$fontDir}/lexend-all-300-normal.woff") format("woff");
|
||||||
|
unicode-range: $unicodeRangeValues;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
OVERRIDES
|
OVERRIDES
|
||||||
----------------------------------------------
|
----------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue