You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
chore(cleanup): remove font customization from Settings → Theme #29
The Settings → Theme page has a "Font" card letting users switch
between Geist, Inter, and Plus Jakarta Sans. We're cutting this — the
default font is good as-is, the picker adds surface area no one's
asking for, and it's the only place in the app that overrides
typography at runtime.
After this PR, the dashboard keeps rendering in the current default
(Inter, set in globals.css).
What to remove
Delete these files entirely:
web/src/components/settings/font-switch.tsx
web/src/components/providers/font-provider.tsx
web/src/stores/use-font-store.ts
Remove the references:
web/src/app/layout.tsx — drop the FontProvider import (line ~4)
and the <FontProvider /> element (line ~75)
web/src/app/[locale]/(dashboard)/dashboard/settings/page.tsx —
drop the FontSwitch import (line ~14) and the whole Font Card
block (around line 141–149)
web/messages/en.json — drop the font and fontDescription keys
Don't touch
web/src/app/globals.css — already declares --font-sans: 'Inter', ... as the default. Leave it as is; this is
what makes the page keep looking the same after removal.
How to verify
Run the app, open /dashboard/settings → Theme tab
The Theme card stays; the Font card is gone
Visit any dashboard page (Insights, Brands, etc.) — text renders in
the same font as before (Inter)
yarn typecheck and yarn lint pass with zero errors
Leftover note: existing users will have a font-store key in their
browser localStorage. It's harmless — nothing reads it anymore and
it'll go away the next time they clear site data. No migration needed.
Activity
nightcityblade commentedon May 16, 2026
Hi, I'd like to work on this. I'll submit a PR shortly.