Add Inter as default font

This commit is contained in:
Hex-4 2024-08-01 14:49:46 -06:00
parent 77a2bd103e
commit 742a6b24f5
2 changed files with 11 additions and 2 deletions

View file

@ -73,7 +73,8 @@
};
});
</script>
<link rel="preconnect" href="https://rsms.me/">
<link rel="stylesheet" href="https://rsms.me/inter/inter.css">
<div
style="width: 100vw; height: 100vh; overflow: hidden; position: absolute; top: 0; left: 0"
>

View file

@ -1,3 +1,11 @@
@tailwind base;
@tailwind components;
@tailwind utilities;
@tailwind utilities;
:root {
font-family: Inter, sans-serif;
font-feature-settings: 'liga' 1, 'calt' 1; /* fix for Chrome */
}
@supports (font-variation-settings: normal) {
:root { font-family: InterVariable, sans-serif; }
}