replace static roboto font with fontsource and add nunito font

This commit is contained in:
2024-09-10 16:05:13 +02:00
parent f6f613b008
commit 4206797862
8 changed files with 22 additions and 24 deletions

View File

@ -1,3 +1,6 @@
@import "@fontsource/nunito";
@import "@fontsource/roboto";
@tailwind base;
@tailwind components;
@tailwind utilities;
@ -8,30 +11,6 @@
src: url('/fonts/MinecraftRegular.otf') format('opentype');
}
@font-face {
font-family: 'Roboto';
src: url('/fonts/Roboto-Regular.ttf') format('truetype');
font-weight: normal;
}
@font-face {
font-family: 'Roboto';
src: url('/fonts/Roboto-Medium.ttf') format('truetype');
font-weight: 500;
}
@font-face {
font-family: 'Roboto';
src: url('/fonts/Roboto-Bold.ttf') format('truetype');
font-weight: bold;
}
@font-face {
font-family: 'Roboto';
src: url('/fonts/Roboto-Black.ttf') format('truetype');
font-weight: 900;
}
html {
@apply font-roboto scroll-smooth;
}