Skip to content

docs: use Inter for docs site headings, drop Josefin Sans [ENG-1800] (hotfix to main) - #12489

Merged
lucas-koontz merged 2 commits into
mainfrom
hotfix/eng-1800-docs-inter-typography
Aug 21, 2026
Merged

docs: use Inter for docs site headings, drop Josefin Sans [ENG-1800] (hotfix to main)#12489
lucas-koontz merged 2 commits into
mainfrom
hotfix/eng-1800-docs-inter-typography

Conversation

@Dav1dF

@Dav1dF Dav1dF commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

Linear: ENG-1800. Hotfix to main, per Jorge's call to release the docs and repointing work ahead of Sunday's cut. Lucas is handling deployment.

This one had to be on main regardless of the hotfix

The Cowork docs publish from maindeploy_docs.yml triggers on push to main under docs/**. So #12488, which targets staging, would never have reached the live site. Its own description flagged this; the hotfix just brings it forward.

Re-applied, not cherry-picked

setup.html and use-cases.html differ between main and staging, so copying the branch's file contents onto main would have dragged unrelated staging changes into those two files. The same three edits were applied to main's copies instead.

Care was needed on one of them: each file has two -0.01em declarations and only the hero h1 should change — the h2 rule keeps its own tracking. I did this by line number after reading the surrounding rule in every file, and asserted per file that exactly one -0.022em exists, exactly one -0.01em survives, and no Josefin reference is left.

The change

The four pages used Josefin Sans for every heading while their body text was already Inter, so headings and body disagreed and the pages sat off the Minds design system.

  • --font-display now points at Inter in docs/{index,api,setup,use-cases}.html.
  • Josefin Sans leaves the Google Fonts request, so each page loads one font file fewer.
  • Hero tracking tightens from -0.01em to -0.022em. Inter needs it at 46–58px where Josefin Sans did not.

JetBrains Mono is unchanged. Colours, layout and spacing untouched.

No cutover dependency

Pure typography on pages that are already live at their current address. Nothing here references docs.mindshub.ai, so it is independent of ENG-1807 and can ship in any order.

Out of scope

Swapping JetBrains Mono for Roboto Mono, the design system's mono face. Bigger visual change, since mono carries the eyebrows, badges, brand mark and code blocks.

Note for the reviewer

#12488 stays open against staging so the change is not lost from the Sunday cut.

Hotfix to main, per Jorge's call to release the docs and repointing work ahead
of Sunday's cut. Same change as PR #12488, re-applied on main rather than
retargeted: #12488 branches off staging, which is 9 commits ahead of main, so
pointing it at main would have carried other people's unreleased work with it.

This one has to be on main regardless of the hotfix. The Cowork docs publish
from main — deploy_docs.yml triggers on push to main under docs/** — so #12488
sitting on staging would never have reached the live site at all.

The four pages used Josefin Sans for every heading while their body text was
already Inter, so headings and body disagreed and the pages sat off the Minds
design system. --font-display now points at Inter, Josefin Sans leaves the
Google Fonts request so each page loads one font file fewer, and the hero
tracking tightens from -0.01em to -0.022em because Inter needs it at 46-58px
where Josefin Sans did not.

Applied per file rather than copied from the staging branch, because setup.html
and use-cases.html differ between main and staging and copying would have
dragged those differences across. Each file has two -0.01em declarations and
only the hero h1 changes; the h2 rule keeps its own. Asserted per file: exactly
one -0.022em, exactly one -0.01em surviving, no Josefin reference left.

JetBrains Mono is unchanged. Colours, layout and spacing untouched.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@Dav1dF
Dav1dF requested a review from lucas-koontz August 21, 2026 19:24
@lucas-koontz
lucas-koontz merged commit 599e1da into main Aug 21, 2026
4 checks passed
@lucas-koontz
lucas-koontz deleted the hotfix/eng-1800-docs-inter-typography branch August 21, 2026 22:15
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.

2 participants