Skip to content

Fix default Tailwind v4 registry fallback#10661

Open
raashish1601 wants to merge 1 commit into
shadcn-ui:mainfrom
raashish1601:codex/10065-default-style-v4-combobox
Open

Fix default Tailwind v4 registry fallback#10661
raashish1601 wants to merge 1 commit into
shadcn-ui:mainfrom
raashish1601:codex/10065-default-style-v4-combobox

Conversation

@raashish1601
Copy link
Copy Markdown

Summary

  • Treat legacy default style with an empty Tailwind config the same as new-york, resolving it to the Tailwind v4 fallback style.
  • Add coverage so default falls back only for Tailwind v4 configless projects, while legacy config-file projects and custom styles are preserved.

This addresses the styles/default/combobox.json 404 path reported in #10065 without changing legacy default projects that still have a Tailwind config file.

Test plan

  • corepack pnpm exec vitest run packages/shadcn/src/registry/config.test.ts
  • corepack pnpm --filter shadcn typecheck
  • corepack pnpm exec prettier --check packages/shadcn/src/registry/config.ts packages/shadcn/src/registry/config.test.ts
  • corepack pnpm --filter shadcn build
  • git diff --check

Notes:

  • corepack pnpm exec eslint packages/shadcn/src/registry/config.ts packages/shadcn/src/registry/config.test.ts is currently blocked locally because the repo has legacy .eslintrc.json config while the installed ESLint 9 CLI expects eslint.config.*.
  • corepack pnpm --filter shadcn test has existing Windows-specific path snapshot/local-file failures outside this change; the targeted registry config test passed.

@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented May 15, 2026

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

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant