You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
improvement(docs): align components with the platform design system (#5227)
* improvement(docs): align components with the platform design system
Bring the docs app's chrome in line with the main Sim design system,
validated against the canonical emcn source in apps/sim.
- ask-ai: fix undefined tokens (--text-base x6, --text-link) that broke
the send-button fill and link/text colors; send button now matches the
canonical primary fill (text-primary/text-inverse, dark:bg-white); use
--shadow-medium and chip gap rhythm
- not-found: replace the hand-rolled brand pill with <ChipLink variant='brand'>
and swap fumadocs tokens for platform tokens
- search-trigger: compose the exported chip chrome constants instead of
re-spelling them (single source of truth)
- what-you-will-learn, video-chapters: fumadocs fd-* tokens -> platform tokens
- workflow-preview: add --wp-highlight token; route the #33b4ff highlight,
#ef4444 error dots, and toggle/slider green through tokens
- video-placeholder: tokenize the status pill (bespoke illustration art
intentionally left as-is)
dropdown-menu, faq, theme-toggle, and page-type-badge were deliberately
left at their canonical values (14px row icons, rounded-md badge) after
validation showed those match the platform, not the chip-pill, standard.
* improvement(docs): neutral primary chip for nav CTA + fix cluster spacing
Align the docs navbar with the main app, which reserves green for
accents/status and uses a neutral high-contrast CTA in nav.
- add a canonical `primary` chip variant (inverse fill: dark in light
mode, white in dark mode), mirroring the emcn chip's primary action
- "Get started" and the 404 "Go home" now use variant='primary' instead
of the green brand surface
- retire the now-unused `brand` chip variant (no parallel path left behind)
- fix navbar right-cluster spacing: gap-2 to match the landing navbar and
drop the asymmetric ml-1 on the CTA
0 commit comments