Skip to content

feat(ui): add gray scale and restructure Mosaic color tokens to match Figma - #9699

Draft
alexcarpenter wants to merge 3 commits into
mainfrom
feat/mosaic-gray-scale
Draft

feat(ui): add gray scale and restructure Mosaic color tokens to match Figma#9699
alexcarpenter wants to merge 3 commits into
mainfrom
feat/mosaic-gray-scale

Conversation

@alexcarpenter

@alexcarpenter alexcarpenter commented Sep 9, 2026

Copy link
Copy Markdown
Member

Description

Aligns the Mosaic color tokens with the Figma design system: adds the base/gray/* scale and restructures the semantic tokens into Figma's foreground, background, border, brand, and status groups.

Adds --cl-color-neutral (black on light, white on dark) and an internal neutralAlpha scale of fixed-opacity mixes of it. Every hover, pressed, and resting wash in button, badge, menu, item, avatar, and banner now reads from that scale instead of an inline color-mix, so they composite the same on any backdrop and retint together when the neutral is overridden.

Checklist

  • pnpm test runs as expected.
  • pnpm build runs as expected.
  • (If applicable) JSDoc comments have been added or updated for any package exports
  • (If applicable) Documentation has been updated

Type of change

  • 🐛 Bug fix
  • 🌟 New feature
  • 🔨 Breaking change
  • 📖 Refactoring / dependency upgrade / documentation
  • other:

@vercel

vercel Bot commented Sep 9, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated
clerk-js-sandbox Ready Ready Preview Sep 10, 2026 1:45am UTC
swingset Ready Ready Preview Sep 10, 2026 1:45am UTC

Request Review

@changeset-bot

changeset-bot Bot commented Sep 9, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 644a77d

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 0 packages

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@coderabbitai

coderabbitai Bot commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true

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

@pkg-pr-new

pkg-pr-new Bot commented Sep 9, 2026

Copy link
Copy Markdown

Open in StackBlitz

@clerk/astro

npm i https://pkg.pr.new/@clerk/astro@9699

@clerk/backend

npm i https://pkg.pr.new/@clerk/backend@9699

@clerk/chrome-extension

npm i https://pkg.pr.new/@clerk/chrome-extension@9699

@clerk/clerk-js

npm i https://pkg.pr.new/@clerk/clerk-js@9699

@clerk/electron

npm i https://pkg.pr.new/@clerk/electron@9699

@clerk/electron-passkeys

npm i https://pkg.pr.new/@clerk/electron-passkeys@9699

@clerk/eslint-plugin

npm i https://pkg.pr.new/@clerk/eslint-plugin@9699

@clerk/expo

npm i https://pkg.pr.new/@clerk/expo@9699

@clerk/expo-google-signin

npm i https://pkg.pr.new/@clerk/expo-google-signin@9699

@clerk/expo-passkeys

npm i https://pkg.pr.new/@clerk/expo-passkeys@9699

@clerk/express

npm i https://pkg.pr.new/@clerk/express@9699

@clerk/fastify

npm i https://pkg.pr.new/@clerk/fastify@9699

@clerk/hono

npm i https://pkg.pr.new/@clerk/hono@9699

@clerk/localizations

npm i https://pkg.pr.new/@clerk/localizations@9699

@clerk/nextjs

npm i https://pkg.pr.new/@clerk/nextjs@9699

@clerk/nuxt

npm i https://pkg.pr.new/@clerk/nuxt@9699

@clerk/react

npm i https://pkg.pr.new/@clerk/react@9699

@clerk/react-router

npm i https://pkg.pr.new/@clerk/react-router@9699

@clerk/shared

npm i https://pkg.pr.new/@clerk/shared@9699

@clerk/tanstack-react-start

npm i https://pkg.pr.new/@clerk/tanstack-react-start@9699

@clerk/testing

npm i https://pkg.pr.new/@clerk/testing@9699

@clerk/ui

npm i https://pkg.pr.new/@clerk/ui@9699

@clerk/upgrade

npm i https://pkg.pr.new/@clerk/upgrade@9699

@clerk/vue

npm i https://pkg.pr.new/@clerk/vue@9699

commit: 644a77d

@alexcarpenter alexcarpenter changed the title feat(ui): add internal gray scale and align Mosaic color tokens with Figma feat(ui): add gray scale and restructure Mosaic color tokens to match Figma Sep 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant