Skip to content

Keep vocamac.com headlines sans-serif on Windows Chrome - #228

Merged
jatinkrmalik merged 3 commits into
mainfrom
jatin/windows-headline-fallback-8ca3
Aug 19, 2026
Merged

Keep vocamac.com headlines sans-serif on Windows Chrome#228
jatinkrmalik merged 3 commits into
mainfrom
jatin/windows-headline-fallback-8ca3

Conversation

@jatinkrmalik

@jatinkrmalik jatinkrmalik commented Aug 19, 2026

Copy link
Copy Markdown
Member

Windows Chrome was showing the homepage headline in Times New Roman. The display stack named Avenir Next and SF Pro Display, which Windows does not have. Chrome then hit Helvetica Neue italic (often a broken local face) and fell to a serif.

--display now matches HQ: Avenir Next, Helvetica Neue, ui-sans-serif, system-ui. Segoe UI and Arial sit on the end so Windows has a real sans. SF Pro Display is gone. Headings and heading em set that stack themselves. The hero line "Your Mac types." no longer uses the user-agent italic face.

Display weight is 760, 780 on the hero H1, with tighter tracking and a larger H1. Body is 16px. No @font-face and no Google Fonts. Status stays Beta. No version bump. Tone picker is untouched.

The GitHub Release Updates page said Settings -> About. Latest html-validate rejects the raw >. That line is now Settings / About so the website job can stay green.

HQ reference: https://vocahq.com/styles.css?v=4 and the typography tokens in https://github.com/VocaHQ/vocahq/blob/main/web/DESIGN.md. brand/README.md §8 and docs/website-design-standard.md are not on vocahq main; DESIGN.md is what that repo publishes.

Local checks: cd web && npm run check (10 tests), stylelint, html-validate.

This is a new CSS PR, not #227.

Open in Web Open in Cursor 

Windows does not ship Avenir Next or SF Pro Display. Chrome then
tried Helvetica Neue italic, missed, and landed on Times New Roman.
Headings now use the HQ display stack plus Segoe UI and Arial, and
the hero em keeps that stack instead of the user-agent italic face.
@github-actions github-actions Bot added bug Something isn't working docs web and removed bug Something isn't working docs labels Aug 19, 2026
The heading-stack test bans that face in the built stylesheet.
Naming it in a comment made the test fail for the wrong reason.
The feature page used "Settings -> About". Latest html-validate
treats the raw ">" as an error, and CI installs that checker
with npx.
@jatinkrmalik
jatinkrmalik marked this pull request as ready for review August 19, 2026 04:56
@jatinkrmalik
jatinkrmalik merged commit 59b08f9 into main Aug 19, 2026
5 checks passed
jatinkrmalik added a commit that referenced this pull request Aug 19, 2026
#228 kept Windows headlines on a sans stack but left the hero
accent in ink and the H1/H2 clamps short of vocahq.com.

The hero em is teal again. Heading clamps, weight, and tracking
match HQ. Body stays 16px. Display stack is unchanged.
@jatinkrmalik
jatinkrmalik deleted the jatin/windows-headline-fallback-8ca3 branch August 22, 2026 05:32
@jatinkrmalik jatinkrmalik mentioned this pull request Aug 24, 2026
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant