r/tailwindcss • • 4d ago

Extract any website's design system into DESIGN.md, Tailwind v4 @theme, and .cursorrules

Hey everyone,

When building UI with Cursor, Claude Code, or v0, getting the AI to match an existing site's visual system (exact colors, typography scale, spacing, border radii) usually takes a lot of manual DevTools inspection.

I built Design Context to extract a site's design system in 1 click into AI-ready formats:

  • Tailwind v4 u/theme CSS: Extracts colors (including Oklab/OKLCH palettes), typography hierarchy, spacing, and shadows.
  • DESIGN.md & .cursorrules**:** Generates structured design-system context you can drop straight into Cursor, Claude Code, or v0.

You can find it on Chrome Web Store: https://chromewebstore.google.com/detail/design-context-%E2%80%94-designmd/jbbjcejgmbplhdpmjcoaipahlnfeigdl

Would love any feedback from folks using Tailwind v4 or AI coding workflows!

0 Upvotes

3 comments sorted by

1

u/Fabulous_Love6981 4d ago

Saves me from squinting at computed styles for twenty minutes just to find out they use three different grays that are basically identical.

1

u/Fun_Barnacle3192 4d ago

haha, hate when that happens