Skip to content

fix(theme): load Inter font with Next.js - #1616

Merged
realcodesiman merged 1 commit into
mainfrom
fix/1242-load-inter-font
Nov 2, 2026
Merged

realcodesiman merged 1 commit into
mainfrom
fix/1242-load-inter-font

Conversation

@realcodesiman

Copy link
Copy Markdown
Contributor

Closes #1242

Summary

  • load Inter through Next.js and expose its CSS variable at the document root
  • use system-font fallbacks for sans, monospace, and serif tokens
  • cover the font variable contract with a focused regression test

Verification

  • pnpm lint
  • pnpm --filter builder check-types
  • VITEST_MAX_WORKERS=1 pnpm --filter builder exec vitest run tests/theme-fonts.test.ts

@github-actions github-actions Bot added the bug Something isn't working as expected label Nov 2, 2026
@realcodesiman
realcodesiman merged commit 1c5e032 into main Nov 2, 2026
15 checks passed
@realcodesiman
realcodesiman deleted the fix/1242-load-inter-font branch November 2, 2026 04:43
hello-jackytruong referenced this pull request in hello-jackytruong/ChatWorkAI Nov 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working as expected

Projects

None yet

Development

Successfully merging this pull request may close these issues.

--font-sans: Inter and --font-mono: JetBrains Mono are declared in the theme but never loaded anywhere (no next/font, @font-face, or Google Fonts link)

1 participant