huntabyte / shadcn-svelte

shadcn/ui, but for Svelte. ✨
https://next.shadcn-svelte.com
MIT License
5.52k stars 343 forks source link

Add ability to choose between using CSS variables or Tailwind CSS utility classes for theming #191

Open MarvinZein opened 1 year ago

MarvinZein commented 1 year ago

Describe the feature in detail (code, mocks, or screenshots encouraged)

Like in the official shadcn/ui, the option for the components to be generated using tailwind utility classes instead of css variables should be added.

{
  "tailwind": {
    "cssVariables": `true` | `false`
  }
}

What type of pull request would this be?

New Feature

Provide relevant links or additional information.

https://ui.shadcn.com/docs/components-json#tailwindcssvariables

FarhanAliRaza commented 10 months ago

Can i help?