Skip to content

Modern product-editorial: switch to sans display typeset - #46

Closed
HumbleBee14 wants to merge 2 commits into
mainfrom
design/homepage-editorial
Closed

Modern product-editorial: switch to sans display typeset#46
HumbleBee14 wants to merge 2 commits into
mainfrom
design/homepage-editorial

Conversation

@HumbleBee14

Copy link
Copy Markdown
Member

Turns on the existing (but dormant) modern typeset site-wide.

What changes: --font-display swaps from Playfair Display → Hanken Grotesk (confident, tight sans) everywhere — hero, section titles, article titles, listings, CTAs. This is the Stripe/Linear "modern product-editorial" direction. The mechanism was already built and tested; it was just switched off.

What does NOT change: the warm paper palette, the oxide accent, spacing, layout, dark-mode fix. Type language only.

Also includes the homepage card revert (from #45) as its baseline, so this supersedes #45.

Preview the whole site — homepage and an article — in the new type language on the Cloudflare deployment. If it lands, next step is editorial hierarchy (one lead story instead of two flat card grids).

The editorial index duplicated the topic row list below and wasted
vertical space. Keeps the dark-mode elevation fix (already on main).
Flip typeset editorial -> modern: swaps Playfair for tight Hanken
Grotesk display type across the site for a modern product-editorial
feel. Warm palette unchanged.
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Aug 9, 2026

Copy link
Copy Markdown

Deploying mlsystems with  Cloudflare Pages  Cloudflare Pages

Latest commit: bc542d4
Status: ✅  Deploy successful!
Preview URL: https://5380da7a.mlsystems.pages.dev
Branch Preview URL: https://design-homepage-editorial.mlsystems.pages.dev

View logs

@github-actions

github-actions Bot commented Aug 9, 2026

Copy link
Copy Markdown

HumbleBee14 added a commit that referenced this pull request Aug 9, 2026
* Revert homepage to card layout

The editorial index duplicated the topic row list below and wasted
vertical space. Keeps the dark-mode elevation fix (already on main).

* Switch to modern typeset (confident sans display, site-wide)

Flip typeset editorial -> modern: swaps Playfair for tight Hanken
Grotesk display type across the site for a modern product-editorial
feel. Warm palette unchanged.

* Headings in Geist (variant of modern typeset)

Same as the modern typeset but display/heading font is Geist Sans
(Vercel's tech-focused grotesk) instead of Hanken. Body stays Source
Serif, UI stays Hanken. For A/B against the Hanken-headings PR.

* Fix hero headline wrapping with Geist

Geist is wider/bolder than Playfair, so at the old 96px cap 'from
kernels' overflowed the ~547px headline column and 'kernels' wrapped,
stranding 'from'. Cap at 80px so it fits + text-wrap: balance.

* Align hero figure to top of headline

Hero grid was align-items:center, floating the figure down to the
middle of the text stack. Top-align so the figure meets the headline.
@HumbleBee14 HumbleBee14 closed this Aug 9, 2026
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.

1 participant