diff --git a/web/index.html b/web/index.html index eeadb88..e7245e4 100644 --- a/web/index.html +++ b/web/index.html @@ -11,7 +11,7 @@ - + @@ -25,12 +25,13 @@ font-style: normal; font-weight: 100 900; font-display: block; + font-feature-settings: "calt" 0; src: local("Inter Var"), local("Inter Variable"), local("Inter var"), local("Inter variable"), local("InterVar"), local("InterVariable"), local("Inter"), - url("/Inter.var.woff2") format("woff2"); + url("/Inter-Variable.woff2") format("woff2"); } :root { font-family: "Inter Var", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", @@ -54,4 +55,4 @@
- \ No newline at end of file + diff --git a/web/public/Inter-Variable.woff2 b/web/public/Inter-Variable.woff2 new file mode 100644 index 0000000..e3e3c90 Binary files /dev/null and b/web/public/Inter-Variable.woff2 differ diff --git a/web/public/Inter.var.woff2 b/web/public/Inter.var.woff2 deleted file mode 100644 index 365eedc..0000000 Binary files a/web/public/Inter.var.woff2 and /dev/null differ diff --git a/web/vite.config.ts b/web/vite.config.ts index e867d5c..87e93f6 100644 --- a/web/vite.config.ts +++ b/web/vite.config.ts @@ -106,7 +106,7 @@ export default ({ mode }: ConfigEnv) => { rollupOptions: { output: { assetFileNames: (chunkInfo: PreRenderedAsset) => { - if (chunkInfo.name === "Inter.var.woff2") { + if (chunkInfo.name === "Inter-Variable.woff2") { return "assets/[name][extname]"; } return "assets/[name]-[hash][extname]";