<svelte:head>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Inter+Tight:wght@100..900&display=swap"
rel="stylesheet"
/>
</svelte:head>
export default {
content: ['./src/**/*.{html,js,svelte,ts}'],
theme: {
extend: {
fontFamily: {
intertight: ["Inter Tight"]
}
}
},
plugins: []
};
<style lang="postcss">
:root {
@apply font-intertight;
}
</style>