Repository navigation
chore(design-system): match studio font stack - #48477
Conversation
Align design system with Inter, Manrope, and Source Code Pro so documented components match Studio, www, and docs.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
6 Skipped Deployments
|
|
This pull request has been ignored for the connected project Preview Branches by Supabase. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe design system replaces the removed local font configuration with shared Google font loaders, wires Inter, Manrope, and Source Code Pro into the root layout, and expands global CSS theme variables, typography settings, and heading styles. ChangesDesign system typography
Estimated code review effort: 2 (Simple) | ~10 minutes Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
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 |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@apps/design-system/styles/globals.css`:
- Line 35: Update the base body rule to apply the 450 normal weight by adding
the existing font-normal utility or setting font-weight from
--font-weight-normal; leave the variable definition unchanged.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro Plus
Run ID: 0555f275-a618-41c9-986d-a23ce91c2c88
⛔ Files ignored due to path filters (7)
apps/design-system/app/fonts/CustomFont-Black.woff2is excluded by!**/*.woff2apps/design-system/app/fonts/CustomFont-BlackItalic.woff2is excluded by!**/*.woff2apps/design-system/app/fonts/CustomFont-Bold.woff2is excluded by!**/*.woff2apps/design-system/app/fonts/CustomFont-BoldItalic.woff2is excluded by!**/*.woff2apps/design-system/app/fonts/CustomFont-Book.woff2is excluded by!**/*.woff2apps/design-system/app/fonts/CustomFont-BookItalic.woff2is excluded by!**/*.woff2apps/design-system/app/fonts/CustomFont-Medium.woff2is excluded by!**/*.woff2
📒 Files selected for processing (4)
apps/design-system/app/fonts/index.tsapps/design-system/app/layout.tsxapps/design-system/lib/fonts.tsapps/design-system/styles/globals.css
💤 Files with no reviewable changes (1)
- apps/design-system/app/fonts/index.ts
🎭 Playwright Test Results (tanstack)Details
Skipped testsFeatures › sql-editor.spec.ts › SQL Editor › snippet favourite works as expected |
🎭 Playwright Test Results (next)Details
Skipped testsFeatures › auth-users.spec.ts › should show web3 users as enabled when the matching web3 provider is enabled |
Braintrust eval report
|
What kind of change does this PR introduce?
Chore
What is the current behavior?
Design system still uses the old CustomFont family, so documented components no longer match Studio, www, and docs after the Inter / Manrope rollout.
What is the new behavior?
Design system uses the same font stack as the other apps:
--font-sans)--font-heading)Also adopts the Inter-optimised type scale and base weight (
450) used in Studio.Additional context
Based on Francesco's unshipped
chore/update-fontsdraft (design-system slice only). Related shipped work: #47306, #47227.Summary by CodeRabbit
code/pre/kbd/sampuse consistent monospace treatment.