inter -> font-name

This commit is contained in:
Alex Gleason 2025-06-06 14:27:19 -05:00
parent d2854f917c
commit 2d325f7343
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7
2 changed files with 2 additions and 2 deletions

View File

@ -573,7 +573,7 @@ To add custom fonts, follow these steps:
2. **Import the font** in `src/main.tsx`:
```typescript
import '@fontsource-variable/inter';
import '@fontsource-variable/<font-name>';
```
3. **Update Tailwind configuration** in `tailwind.config.ts`:

View File

@ -4,6 +4,6 @@ import App from './App.tsx'
import './index.css'
// FIXME: a custom font should be used. Eg:
// import '@fontsource-variable/inter';
// import '@fontsource-variable/<font-name>';
createRoot(document.getElementById("root")!).render(<App />);