Convert Tailwind class to Vanilla CSS (Others styles option on the way).
This tool helps developers understand the underlying CSS properties of Tailwind utility classes and assists in migrating from Tailwind to vanilla CSS when needed.
[rootFolder]/
├── src/
│ ├── lib/
│ │ └── tailwind/
│ │ ├── constants/
│ │ │ ├── colors.ts
│ │ │ ├── spacing.ts
│ │ │ └── mediaQueries.ts
│ │ ├── types/
│ │ │ └── index.ts
│ │ ├── utils/
│ │ │ ├── parseArbitraryValue.ts
│ │ │ └── generateUtilities.ts
│ │ ├── mappings/
│ │ │ ├── layout.ts
│ │ │ ├── flexbox.ts
│ │ │ ├── grid.ts
│ │ │ ├── spacing.ts
│ │ │ └── typography.ts
│ │ └── index.ts
│ ├── components/
│ │ └── TailwindConverter/
│ │ ├── ConversionForm.tsx
│ │ ├── ConversionResult.tsx
│ │ └── index.tsx
│ └── app/
│ └── converter/
│ ├── page.tsx
│ └── layout.tsx
├── public/
├── package.json
└── tsconfig.json
The application is also available at here
To add support for new Tailwind utilities:
src/lib/tailwind/mappings/
src/lib/tailwind/constants/
src/lib/tailwind/types/
src/lib/tailwind/index.ts
git checkout -b feature/AmazingFeature
)git commit -m 'Add some AmazingFeature'
)git push origin feature/AmazingFeature
)This project is licensed under the MIT License - see the LICENSE file for details.
Before I start this project, I didn't know there is some similar project out there. That comes later after I have put all the hard work. So I decided to continue to the project.