chore(hire): set the author pages' italic in lora - #863
Conversation
Newsreader read small beside DM Sans on /hire and /resume. Lora's x-height matches the body, so the inline spans sit level with the text around them. Every use is italic, so only Lora's italic file is vendored, declared with style "italic" so the class does not slant it a second time, and with the Times New Roman fallback metrics the fonts skill asks of a serif. Both Newsreader files go, which drops the pages' font preload from about 193KB to 116KB. The theming doc names the new face and the fonts skill notes the italic-only setup. Claude-Session: https://claude.ai/code/session_01VBYxUtQGsiCZ57FgqffMu3
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Warning Review limit reachedNext included review available in 58 minutes. View limit detailsLimit details: You’ve used the included review currently available. You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Review configuration: ⚙️ Run configurationConfiguration used: Repository: nrjdalal/zerostarter/.coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: ⛔ Files ignored due to path filters (4)
📒 Files selected for processing (4)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Important Merge with a squash commit (not merge), so canary stays one commit per PR and shared-history merges stay reserved for release PRs. Delete the branch after merging to keep the remote clean. |







Summary
Swaps the serif italic on
/hireand/resumefrom Newsreader to Lora. Newsreader's small x-height made the inline italic spans read a size smaller than the DM Sans body around them. Lora's matches, so they sit level with the text.A side-by-side of the page copy in Newsreader and six candidates picked Lora.
Changes
lorareplacesnewsreaderinweb/next/src/lib/marketing/fonts.ts. Every use is italic, so only Lora's italic file is vendored. It is declared withstyle: "italic", or the face registers as upright and theitalicclass slants it a second time. It also sets the Times New Roman fallback metrics the fonts skill asks of a serif.lora; class names are otherwise unchanged.--font-lora. The fonts skill gains a note on the italic-only setup.Verification
/hirebut not on/. No font 404s in the dev log. No horizontal overflow at 390px.🤖 Generated with Claude Code
https://claude.ai/code/session_01VBYxUtQGsiCZ57FgqffMu3