1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-09-16 16:15:33 -04:00

add types for fonts imported by webpack

This commit is contained in:
2022-03-27 11:23:42 -04:00
parent 8b3d6f712b
commit ff6e417889
8 changed files with 20 additions and 15 deletions

View File

@@ -1,5 +1,3 @@
// @ts-nocheck
// Legacy
import comicNeueLatin400NormalWoff from "@fontsource/comic-neue/files/comic-neue-latin-400-normal.woff";
import comicNeueLatin400NormalWoff2 from "@fontsource/comic-neue/files/comic-neue-latin-400-normal.woff2";

View File

@@ -1,5 +1,3 @@
// @ts-nocheck
// Legacy
import interLatin400NormalWoff from "@fontsource/inter/files/inter-latin-400-normal.woff";
import interLatin400NormalWoff2 from "@fontsource/inter/files/inter-latin-400-normal.woff2";

View File

@@ -1,5 +1,3 @@
// @ts-nocheck
// Legacy
import robotoMonoLatin400NormalWoff from "@fontsource/roboto-mono/files/roboto-mono-latin-400-normal.woff";
import robotoMonoLatin400NormalWoff2 from "@fontsource/roboto-mono/files/roboto-mono-latin-400-normal.woff2";

View File

@@ -134,7 +134,6 @@ export const globalStyles = globalCss(
},
// variable font support?
// @ts-ignore
"@supports (font-variation-settings: normal)": {
body: {
fontFamily: "$sansVar",