Skip to content

fix(docs): serve the Geist body font from the site - #25913

Merged
alejoamiras merged 6 commits into
nextfrom
cb/docs-loose-ends-3
Nov 26, 2026
Merged

alejoamiras merged 6 commits into
nextfrom
cb/docs-loose-ends-3

Conversation

@AztecBot

@AztecBot AztecBot commented Nov 26, 2026 •

Copy link
Copy Markdown
Collaborator

The body font now loads from the docs site itself, with its licence beside it, so no page contacts Google Fonts.

The body font comes from @fontsource-variable/geist (upright faces, as Google Fonts served them) instead of a Google Fonts @import, and the build puts its OFL licence beside the font files. The browser smoke checks the body renders in it and fails a page that loads a font or a stylesheet from another host.
C6 accepted any loaded Geist face, so Latin text in a fallback font passed while another subset loaded.
The browser smoke sees only the fonts and stylesheets its pages request, so a remote @font-face for a subset those pages never use went unseen.
…quotes

Browsers trim the space and fetch the URL, and Lightning CSS keeps it when it minifies.
@AztecBot AztecBot added ci-draft Run CI on draft PRs. claudebox Owned by claudebox. it can push to this PR. labels Nov 26, 2026
@alejoamiras
alejoamiras marked this pull request as ready for review November 26, 2026 18:51
@alejoamiras
alejoamiras requested a review from a team as a code owner November 26, 2026 18:51
@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addednpm/​@​fontsource-variable/​geist@​5.3.0100100828390

View full report

@alejoamiras
alejoamiras merged commit 6542e71 into next Nov 26, 2026
25 of 29 checks passed
@alejoamiras
alejoamiras deleted the cb/docs-loose-ends-3 branch November 26, 2026 19:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci-draft Run CI on draft PRs. claudebox Owned by claudebox. it can push to this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants