mirror of
https://gitlab.com/soapbox-pub/mkstack.git
synced 2025-08-26 20:49:22 +00:00
inter -> font-name
This commit is contained in:
parent
d2854f917c
commit
2d325f7343
@ -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`:
|
||||
|
@ -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 />);
|
||||
|
Loading…
x
Reference in New Issue
Block a user