()
| 68 | } |
| 69 | |
| 70 | function loadInterFont() { |
| 71 | if (isInterFontLoaded) { |
| 72 | return; |
| 73 | } |
| 74 | isInterFontLoaded = true; |
| 75 | const interFont = new FontFace("Inter", "url('fonts/inter-variable.woff2')", { |
| 76 | style: "normal", |
| 77 | weight: "100 900", |
| 78 | }); |
| 79 | addToFontFaceSet(document.fonts, interFont); |
| 80 | interFont.load(); |
| 81 | } |
| 82 | |
| 83 | function loadFonts() { |
| 84 | loadInterFont(); |
no test coverage detected