Skip to content

fix: load Inter font through next font - #96

Merged
joelpeace48-cell merged 1 commit into
FinesseStudioLab:mainfrom
telemarkdigital-publisher:fix/issue-68-load-inter
Aug 27, 2026
Merged

fix: load Inter font through next font#96
joelpeace48-cell merged 1 commit into
FinesseStudioLab:mainfrom
telemarkdigital-publisher:fix/issue-68-load-inter

Conversation

@telemarkdigital-publisher

Copy link
Copy Markdown
Contributor

Summary

  • Load Inter through next/font/google with the latin subset and the weights currently used by the UI.
  • Apply the generated --font-sans variable on the root body.
  • Reference the loaded font variable from app/globals.css instead of naming an unloaded local Inter family directly.

Closes #68.

Verification

  • npm run lint
  • npm test
  • npm run build
  • git diff --check
  • Clean Playwright Chromium check against next start: body uses the generated font variable, self-hosted /_next/static/media/*.woff2 font resource loads, and layout-shift total is 0.

@joelpeace48-cell
joelpeace48-cell merged commit 592e1b8 into FinesseStudioLab:main Aug 27, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

design-system: Inter is declared as the body font but never loaded

2 participants