mirror of
https://gitlab.com/soapbox-pub/mkstack.git
synced 2026-12-03 08:07:21 +00:00
inter -> font-name
This commit is contained in:
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -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
@@ -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 />);
|
||||
Reference in new issue
Block a user