Skip to content

fix(cli): respect custom registry styles#10521

Open
cyphercodes wants to merge 1 commit intoshadcn-ui:mainfrom
cyphercodes:fix/10496-custom-registry-style
Open

fix(cli): respect custom registry styles#10521
cyphercodes wants to merge 1 commit intoshadcn-ui:mainfrom
cyphercodes:fix/10496-custom-registry-style

Conversation

@cyphercodes
Copy link
Copy Markdown

Summary

  • Preserve custom configured styles in Tailwind v4 projects instead of always forcing new-york-v4.
  • Keep the Tailwind v4 upgrade for legacy shadcn styles (default and new-york).
  • Add regression coverage for custom registry styles and a patch changeset.

Fixes #10496

Verification

  • pnpm --filter=shadcn test -- test/utils/get-config.test.ts
  • pnpm --filter=shadcn typecheck
  • pnpm --filter=shadcn format:check
  • NODE_OPTIONS=--max-old-space-size=4096 pnpm --filter=shadcn build

@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented Apr 27, 2026

@cyphercodes is attempting to deploy a commit to the shadcn-pro Team on Vercel.

A member of the Team first needs to authorize it.

@cyphercodes cyphercodes force-pushed the fix/10496-custom-registry-style branch from 7fafd6d to 27b96f5 Compare April 27, 2026 14:13
@shadcn shadcn self-assigned this Apr 27, 2026
@shadcn shadcn added the area: roadmap This looks great. We'll add it to the roadmap, review and merge. label Apr 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: roadmap This looks great. We'll add it to the roadmap, review and merge.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[bug]: shadcn CLI overrides components.json style for third-party registries

2 participants