inter -> font-name

This commit is contained in:
Alex Gleason committed 2025-06-06 14:28:01 -05:00
1 parent d2854f917c
commit 2d325f7343
2 files changed
+2 -2

No files matched your search

+1 -1
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`:
+1 -1
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 />);