Repository navigation
fix(mosaic): align color tokens with Figma - #10375
austincalvelage wants to merge 1 commit into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
🦋 Changeset detectedLatest commit: 785becd The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
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 |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to
|
@clerk/astro
@clerk/backend
@clerk/chrome-extension
@clerk/clerk-js
@clerk/electron
@clerk/electron-passkeys
@clerk/eslint-plugin
@clerk/expo
@clerk/expo-biometrics
@clerk/expo-google-signin
@clerk/expo-native-components
@clerk/expo-passkeys
@clerk/express
@clerk/fastify
@clerk/hono
@clerk/localizations
@clerk/mosaic
@clerk/nextjs
@clerk/nuxt
@clerk/react
@clerk/react-router
@clerk/shared
@clerk/tanstack-react-start
@clerk/testing
@clerk/ui
@clerk/upgrade
@clerk/vue
commit: |
Description
Align Mosaic’s dark-mode secondary text, borders, subtle backgrounds, and input backgrounds with the Figma palette.
Change dark negative-alpha highlights from translucent red to Figma’s near-white
#fafafb. This affects invalid input focus rings, negative menu highlights, error toast icon backgrounds, and invalid tags. The 8% and 12% values match Figma; the existing 6% token uses the same base because Figma has no 6% entry. Values were converted with oklch.com. Light-mode colors and solid error reds stay unchanged.Dark-mode examples show secondary text and subtle backgrounds, default and focused invalid inputs, an active destructive menu item, and an invalid tag. These static captures use Swingset component markup with the built Mosaic stylesheet and the before/after token values.
Checklist
pnpm testruns as expected. Scoped Mosaic suites passed: 93 tests across Input, InputGroup, Menu, Toast, TagInput, and OTP. Vitest reported a shutdown warning after passing.pnpm buildruns as expected. CSS build passed; full package build not run. Browser checks confirmed dark and light token values; lint and formatting passed.Type of change