mirror of
https://github.com/wavetermdev/backup.git
synced 2026-08-05 13:57:07 -07:00
fix inter font for variable weight
This commit is contained in:
@@ -146,7 +146,7 @@ function loadInterFont() {
|
||||
isInterFontLoaded = true;
|
||||
const interFont = new FontFace("Inter", "url('fonts/inter-variable.woff2')", {
|
||||
style: "normal",
|
||||
weight: "400",
|
||||
weight: "100 900",
|
||||
});
|
||||
addToFontFaceSet(document.fonts, interFont);
|
||||
interFont.load();
|
||||
|
||||
Reference in New Issue
Block a user