feat(tailwind): add Tailwind v4 CSS-first export#21
feat(tailwind): add Tailwind v4 CSS-first export#21sbrsubuvga wants to merge 1 commit intogoogle-labs-code:mainfrom
Conversation
Adds a `--tailwind-version v4` flag to `export --format tailwind` that emits a CSS-driven theme using v4's namespaced custom properties (`--color-*`, `--font-*`, `--text-*` with `--line-height` / `--letter-spacing` / `--font-weight` modifiers, `--radius-*`, `--spacing-*`) inside an `@theme` block, plus an `@layer components` section that uses `var(...)` references so theme edits propagate without rebuilding utilities. v3 remains the default; existing JSON output and result shape are preserved. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
|
Thank you for this @sbrsubuvga! Can you sign the CLA? |
CLA has been submitted |
|
@sbrsubuvga It's still failing. Can you make sure you used the same email associated with your commit? |
Fixed #19 : Adds a
--tailwind-version v4flag toexport --format tailwindthat emits a CSS-driven theme using v4's namespaced custom properties (--color-*,--font-*,--text-*with--line-height/--letter-spacing/--font-weightmodifiers,--radius-*,--spacing-*) inside an@themeblock, plus an@layer componentssection that usesvar(...)references so theme edits propagate without rebuilding utilities. v3 remains the default; existing JSON output and result shape are preserved.