tw-to-css
tw-to-css copied to clipboard
๐ Transform Tailwind classes to CSS
It would be helpful to transform certain tailwind values like "gray-100" or "text-3xl" to use variables like var(--gray-100) and var(--3xl), in particular to enable easier support for variable based dark...
Documentation section about making vs code recognize the package and provide the necessary tailwindcss autocompletion and suggestions
thanks for the lib, but i'm having some problems with the hover: tags. It is possible that tags with format xxx: do not convert console.log(twj('bg-violet-500 hover:bg-violet-600 active:bg-violet-700 focus:outline-none focus:ring focus:ring-violet-300'));...
```ts import { tailwindToCSS } from 'tw-to-css'; ``` If I try to import `tw-to-css` under the `lib` folder it just breaks with the following error. This is under dev mode...
I'm using React Email and I installed it into my main webapp which uses Tailwind. I'm building the emails in a section in the app and rendering and pushing the...
tranform
When converting tranform, you will get an incorrect result, for example, ``` translate-x-[349px] translate-y-[64px] ``` will become```transform: "translate(0, 64px) rotate(0) skewX(0) skewY(0) scaleX(1) scaleY(1)".```
Here is a case: ``` input๏ผ"text-4xl font-bold mb-6 text-[rgba(250, 84, 28, 1)]" output๏ผ{ fontSize: "2.25rem", fontWeight: 700, lineHeight: "2.5rem" marginBottom: "1.5rem" } ``` Self defined className like `text-[rgba(250, 84, 28,...