Skip to content

feat: Meta theme + Components sandbox page - #959

Closed
rubyycheung wants to merge 1 commit into
mainfrom
meta-theme
Closed

feat: Meta theme + Components sandbox page#959
rubyycheung wants to merge 1 commit into
mainfrom
meta-theme

Conversation

@rubyycheung

Copy link
Copy Markdown
Contributor

What

  • @xds/theme-meta — new theme package anchored to CDS Default (XMDS) visual language
    • Font: Optimistic → Figtree → system fallback
    • Colors sourced from CDSDefaultThemeSource.php (primary button #0064E0 both modes, correct surfaces/text/dividers/status)
    • Radii: button 16/18/22px per size, card 32px, input 16px, badge 20px
    • Typography scale: body 15px, h3 17px, h1/2 24px
  • Sandbox Components page at /pages/meta-theme/ — 15 component sections grouped by Storybook category, light/dark toggle
  • Figtree loaded via next/font/google in sandbox layout

Preview

Once deployed: https://studious-broccoli-o7e61n3.pages.github.io/sandbox/pages/meta-theme/

- packages/themes/meta: new @xds/theme-meta anchored to CDS Default (XMDS)
  - Optimistic → Figtree → system font fallback
  - CDS color tokens (primary button #0064E0 both modes, correct surfaces/text/dividers)
  - CDS radii (button 16/18/22px, card 32px, input 16px)
  - CDS typography scale (body 15px, h3 17px, h1/2 24px)
- apps/sandbox: Meta Theme Components page at /pages/meta-theme/
  - All 15 component sections grouped by Storybook category
  - Light/dark toggle
- apps/sandbox/layout.tsx: load Figtree via next/font/google
@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Mar 29, 2026
@rubyycheung

Copy link
Copy Markdown
Contributor Author

Closing — existing @xds/theme-meta already on main from PR #692. Will rebuild sandbox page on top of that instead.

@cixzhang
cixzhang deleted the meta-theme branch April 9, 2026 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant