feat: use Cal Sans UI as body font, rename font-cal to font-heading #26962
+99
−100
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What does this PR do?
This PR replaces Inter with Cal Sans UI as the default body font on dashboard pages, while keeping Inter on public booking pages. It also renames the heading font CSS variable from
--font-calto--font-headingfor clarity.This is a follow-up to PR #26759 which reverted #26064 because there was uncertainty about using Cal Sans on public booking pages.
Changes
Font Architecture:
--font-sans→ Cal Sans UI (body font, default for entire app)--font-heading→ Cal Sans SemiBold (heading font, renamed from--font-cal)--font-sanslocally with InterImplementation:
CalSansUI[MODE,wght].woff2)--font-sansand Cal Sans SemiBold as--font-heading<style>tag approach for CSS variables, now using Next.js font variable classes on body--font-sanslocallyfont-calreferences tofont-headingacross ~70 filesfont-semibold/font-mediumfromfont-headingelements (Cal Sans SemiBold is already semibold)Updates since last revision
--font-sansvia wrapper div with font variable class and inline fontFamily style--font-sans-bookingvariable (no longer needed)Mandatory Tasks (DO NOT REMOVE)
How should this be tested?
/[username]/[event-type]) and verify body text uses Inter fontfont-headingclass render correctly with Cal Sans SemiBoldHuman Review Checklist
apps/web/app/(booking-page-wrapper)/layout.tsxdoesn't break booking page layoutsfont-calwas renamed tofont-headingfor any issuesLink to Devin run: https://app.devin.ai/sessions/d74d6d034e8e4c54a9037cb4a3f0400a
Requested by: [email protected]