Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[Feature]: Tailwind prefix support #105

Open
bhaveshdaswani93 opened this issue Dec 25, 2024 · 2 comments
Open

[Feature]: Tailwind prefix support #105

bhaveshdaswani93 opened this issue Dec 25, 2024 · 2 comments
Labels
Type: Question An issue which isn't directly actionable in code

Comments

@bhaveshdaswani93
Copy link

What problem does this feature solve?

Currently in my project am using tailwind prefix tw-, so for the component from tremor raw, I would need to add tw- to all the classes of tailwind, shadcn ui has support for tailwind prefix, if we can also have support for tailwind prefix that will be helpful

What does the proposed API look like?

Though I am not full aware of how the implementation can be done, I found a PR which helped in shadcn for adding tailwind prefix support, below is the link for that

shadcn-ui/ui#770

@severinlandolt
Copy link
Member

Hi @bhaveshdaswani93, you should be able to add any prefix just like this https://tailwindcss.com/docs/configuration#prefix

@severinlandolt severinlandolt added the Type: Question An issue which isn't directly actionable in code label Dec 26, 2024
@bhaveshdaswani93
Copy link
Author

bhaveshdaswani93 commented Jan 2, 2025

What I was thinking if I am using tailwind prefix, then can the tremor components tailwind classes being used can be updated to use the tailwind prefix,

Currently I have used the date picker component where I had manually added the prefix to tailwind classes, if there was some cli tool that can update the prefix for tailwind classes for tremor components that will be helpful

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Type: Question An issue which isn't directly actionable in code
Projects
None yet
Development

No branches or pull requests

2 participants