Skip to content

chore(design-system): match studio font stack - #48477

Merged
dnywh merged 2 commits into
masterfrom
dnywh/chore/design-system-fonts
Jul 30, 2026
Merged

dnywh merged 2 commits into
masterfrom
dnywh/chore/design-system-fonts

Conversation

@dnywh

@dnywh dnywh commented Jul 30, 2026 •

Copy link
Copy Markdown
Contributor

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:

  • Inter for body (--font-sans)
  • Manrope for headings (--font-heading)
  • Source Code Pro for mono

Also adopts the Inter-optimised type scale and base weight (450) used in Studio.

Additional context

Based on Francesco's unshipped chore/update-fonts draft (design-system slice only). Related shipped work: #47306, #47227.

Summary by CodeRabbit

  • Style
    • Updated the design system with refreshed typography using Inter and Manrope, with Source Code Pro for code.
    • Refined theme typography and spacing tokens, including a more complete text scale, updated font weights, and container sizing.
    • Improved heading styling and ensured code/pre/kbd/samp use consistent monospace treatment.
    • Adjusted default border styling and improved font loading/fallback behavior for more consistent rendering.

Align design system with Inter, Manrope, and Source Code Pro so documented components match Studio, www, and docs.
@vercel

vercel Bot commented Jul 30, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
design-system Ready Ready Preview Jul 30, 2026 6:31am
6 Skipped Deployments
Project Deployment Actions Updated (UTC)
studio Ignored Ignored Jul 30, 2026 6:31am
docs Skipped Skipped Jul 30, 2026 6:31am
studio-self-hosted Skipped Skipped Jul 30, 2026 6:31am
studio-staging Skipped Skipped Jul 30, 2026 6:31am
ui-library Skipped Skipped Jul 30, 2026 6:31am
zone-www-dot-com Skipped Skipped Jul 30, 2026 6:31am

Request Review

@supabase

supabase Bot commented Jul 30, 2026

Copy link
Copy Markdown

This pull request has been ignored for the connected project xguihxuzqibwxjnimxev because there are no changes detected in supabase directory. You can change this behaviour in Project Integrations Settings ↗︎.


Preview Branches by Supabase.
Learn more about Supabase Branching ↗︎.

@coderabbitai

coderabbitai Bot commented Jul 30, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 0d3b71b8-1256-4664-8cca-abe8a4e553fd

📥 Commits

Reviewing files that changed from the base of the PR and between 61130ae and b2070a0.

📒 Files selected for processing (1)
  • apps/design-system/styles/globals.css

📝 Walkthrough

Walkthrough

The 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.

Changes

Design system typography

Layer / File(s) Summary
Font loading and layout wiring
apps/design-system/lib/fonts.ts, apps/design-system/app/layout.tsx
Adds configured Manrope, Inter, and Source Code Pro loaders and applies their font classes and CSS variables in the root layout.
Global theme typography
apps/design-system/styles/globals.css
Adds font theme variables and typography scales, updates body and monospace defaults, removes the broad border-color rule, and applies heading styles outside monospace contexts.

Estimated code review effort: 2 (Simple) | ~10 minutes

Suggested reviewers: ivasilov

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title is concise and accurately summarizes the main change: aligning the design system font stack with Studio.
Description check ✅ Passed The description covers change type, current behavior, new behavior, and context, but omits the CONTRIBUTING.md acknowledgment section.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch dnywh/chore/design-system-fonts

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

📥 Commits

Reviewing files that changed from the base of the PR and between 0833c58 and 61130ae.

⛔ Files ignored due to path filters (7)
  • apps/design-system/app/fonts/CustomFont-Black.woff2 is excluded by !**/*.woff2
  • apps/design-system/app/fonts/CustomFont-BlackItalic.woff2 is excluded by !**/*.woff2
  • apps/design-system/app/fonts/CustomFont-Bold.woff2 is excluded by !**/*.woff2
  • apps/design-system/app/fonts/CustomFont-BoldItalic.woff2 is excluded by !**/*.woff2
  • apps/design-system/app/fonts/CustomFont-Book.woff2 is excluded by !**/*.woff2
  • apps/design-system/app/fonts/CustomFont-BookItalic.woff2 is excluded by !**/*.woff2
  • apps/design-system/app/fonts/CustomFont-Medium.woff2 is excluded by !**/*.woff2
📒 Files selected for processing (4)
  • apps/design-system/app/fonts/index.ts
  • apps/design-system/app/layout.tsx
  • apps/design-system/lib/fonts.ts
  • apps/design-system/styles/globals.css
💤 Files with no reviewable changes (1)
  • apps/design-system/app/fonts/index.ts

Comment thread apps/design-system/styles/globals.css Resolved
@github-actions

Copy link
Copy Markdown
Contributor

🎭 Playwright Test Results (tanstack)

passed  90 passed
skipped  4 skipped

Details

stats  94 tests across 10 suites
duration  2 minutes, 12 seconds
commit  61130ae

Skipped tests

Features › sql-editor.spec.ts › SQL Editor › snippet favourite works as expected
Features › sql-editor.spec.ts › SQL Editor › share with team works as expected
Features › sql-editor.spec.ts › SQL Editor › folders works as expected
Features › sql-editor.spec.ts › SQL Editor › other SQL snippets actions work as expected

@github-actions

github-actions Bot commented Jul 30, 2026 •

Copy link
Copy Markdown
Contributor

🎭 Playwright Test Results (next)

passed  243 passed
skipped  5 skipped

Details

stats  248 tests across 29 suites
duration  3 minutes, 30 seconds
commit  b2070a0

Skipped tests

Features › auth-users.spec.ts › should show web3 users as enabled when the matching web3 provider is enabled
Features › sql-editor.spec.ts › SQL Editor › snippet favourite works as expected
Features › sql-editor.spec.ts › SQL Editor › share with team works as expected
Features › sql-editor.spec.ts › SQL Editor › folders works as expected
Features › sql-editor.spec.ts › SQL Editor › other SQL snippets actions work as expected

@fsansalvadore fsansalvadore left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@dnywh
dnywh merged commit 3a1b1e3 into master Jul 30, 2026
37 checks passed
@dnywh
dnywh deleted the dnywh/chore/design-system-fonts branch July 30, 2026 20:02
@github-actions

github-actions Bot commented Jul 30, 2026 •

Copy link
Copy Markdown
Contributor

Braintrust eval report

Assistant (master-1785441992)

Score Average Improvements Regressions
Completeness 100% (+0pp) - -
Conciseness 40.2% (-4pp) 6 🟢 10 🔴
Correctness 73.3% (0pp) 1 🟢 1 🔴
Goal Completion 81% (+1pp) 4 🟢 4 🔴
Knowledge Usage 97.4% (+0pp) 1 🟢 1 🔴
SQL Identifier Quoting 100% (+0pp) - -
SQL Validity 100% (+0pp) - -
Tool Usage 71.9% (-1pp) - 1 🔴
Docs Faithfulness 70.9% (+3pp) 3 🟢 2 🔴
URL Validity 100% (+0pp) - -
Safety 90.5% (-10pp) - 2 🔴
Time_to_first_token 3.66tok (+0.2tok) 13 🟢 16 🔴
Llm_calls 7.17 (+0.08) 12 🟢 10 🔴
Tool_calls 3.2 (+0.44) 17 🟢 6 🔴
Errors 0.02 (+0.02) - 1 🔴
Llm_errors 0.01 (+0.01) - 1 🔴
Tool_errors 0 (+0) - -
Prompt_tokens 24189.07tok (+4093.61tok) 6 🟢 20 🔴
Prompt_cached_tokens 8109.61tok (+847.45tok) 12 🟢 11 🔴
Prompt_cache_creation_tokens 0tok (+0tok) - -
Prompt_cache_creation_5m_tokens 0tok (+0tok) - -
Prompt_cache_creation_1h_tokens 0tok (+0tok) - -
Completion_tokens 614.67tok (+16.48tok) 13 🟢 16 🔴
Completion_reasoning_tokens 103.01tok (-3.83tok) 12 🟢 14 🔴
Completion_accepted_prediction_tokens 0tok (+0tok) - -
Completion_rejected_prediction_tokens 0tok (+0tok) - -
Completion_audio_tokens 0tok (+0tok) - -
Total_tokens 24803.74tok (+4110.09tok) 9 🟢 20 🔴
Estimated_cost 0$ (+0$) 6 🟢 22 🔴
Duration 19.67s (+2.39s) 7 🟢 22 🔴
Llm_duration 12.84s (+0.5s) 15 🟢 14 🔴

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.

2 participants