Commit 819b6d1
committed
fix(styles): define font-heading class in Tailwind config
- Add fontFamily.heading to theme.extend in tailwind.config.ts
('font-heading' was a no-op class — CardTitle and DialogTitle had
no applied font-family, silently falling back to browser default)
- Add --font-heading CSS variable to :root in globals.css
(defaults to Inter — easy to override system-wide with one change)
- font-heading is used in components/ui/card.tsx (CardTitle)
and components/ui/dialog.tsx (DialogTitle)1 parent 78bcdf2 commit 819b6d1
2 files changed
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
27 | 32 | | |
28 | 33 | | |
29 | 34 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
91 | 97 | | |
92 | 98 | | |
93 | 99 | | |
| |||
0 commit comments