[Feature]: Provide a tailwind preset #1057
Labels
Type: Docs
Indicates that the documentation is affected. Either add or correct docs.
Type: Feature
New feature for existing component
Type: Theming
Indicates that the styling is affected.
What problem does this feature solve?
The current setup process is quite messy, having to copy and paste a large tailwind configuration and merge it into existing setups that may clash with other libraries.
Having now integrated tremor with a shadcn/ui project using tailwind presets, I think it would be helpful to provide a default preset and offer documentation on how to overwrite / customize colors.
This will also allow to resolve issues with
content
when using tremor in monorepos with no hoisting (like when usingbun
).This is the preset that works for me with the latest version of tremor:
Tailwind preset
Using the preset
This is how I'm using this preset alongside other custom presets:
Folks can then extend as they wish since
extends
are merged, but without having to copy all the boilerplate.What does the proposed API look like?
No response
The text was updated successfully, but these errors were encountered: