ui icon indicating copy to clipboard operation
ui copied to clipboard

feat: merge existing tailwind config

Open juliusmarminge opened this issue 1 year ago • 2 comments

this merges the existing tailwind config to not remove any existing config when initializing the shadcn-ui config.

before (custom font settings was removed):

image

after (font config is preserved):

CleanShot 2024-04-20 at 23 18 05@2x

note that it's json-quoted but i don't think this is an issue as the previous solution also didn't produce an output that adhered to the user's formatting rules (use of single-quotes, semis etc etc). could ship prettier and run that on the file before writing, but with other formatters like biome getting popular i don't think this is worth it, and a manual save by the user is adequate)

juliusmarminge avatar Apr 20 '24 21:04 juliusmarminge

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

A member of the Team first needs to authorize it.

vercel[bot] avatar Apr 20 '24 21:04 vercel[bot]

That's looks good to me

Nsttt avatar Apr 20 '24 21:04 Nsttt

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Updated (UTC)
ui ⬜️ Ignored (Inspect) Visit Preview Aug 13, 2024 10:05am

vercel[bot] avatar Aug 13 '24 10:08 vercel[bot]