hymhub / css-to-tailwind

Convert CSS code to Tailwindcss syntax in real time
https://hymhub.github.io/css-to-tailwind/
MIT License
362 stars 22 forks source link

Support output with prefix #3

Closed uicowboy closed 1 year ago

uicowboy commented 1 year ago

Hey this is a handy tool, thank you for building it! Curious if there's a way (or you already have plans to support this) to specify the output should use a given prefix. It's common in large projects that are migrating to Tailwind to use a prefix in the Tailwind config file in order to avoid style conflicts, so I could see it being very useful to have an option to configure this.

hymhub commented 1 year ago

Hey this is a handy tool, thank you for building it! Curious if there's a way (or you already have plans to support this) to specify the output should use a given prefix. It's common in large projects that are migrating to Tailwind to use a prefix in the Tailwind config file in order to avoid style conflicts, so I could see it being very useful to have an option to configure this.

Thanks for your suggestion, it is already planned

hymhub commented 1 year ago

Hey, this feature has been implemented image https://github.com/hymhub/css-to-tailwind#translatorconfig

uicowboy commented 1 year ago

Thank you!