awssat / tailwindo
Convert Bootstrap CSS to Tailwind CSS
Installs: 19 684
Dependents: 2
Suggesters: 0
Security: 0
Stars: 1 093
Watchers: 17
Forks: 108
Open Issues: 8
Requires
- php: ^7.2|^8.0
- symfony/console: ^4.0|^5.0
Requires (Dev)
- phpunit/phpunit: ^8
README
This tool can convert Your CSS framework (currently Bootstrap) classes in HTML/PHP (any of your choice) files to equivalent Tailwind CSS classes.
Features
- Made to be easy to add more CSS frameworks in the future (currently Bootstrap).
- Can convert single files/code snippets/folders.
- Can extract changes to a separate css file as Tailwind components and keep old classes names. like:
.p-md-5 {
@apply md:p-7;
}
Help Us
- If you find unexpected conversion result, create an issue; if you managed to fix it, please create a PR.
- If you are familiar with another CSS frameworks (like Foundation, Pure..), please create a PR and add it (see BootstrapFramework.php file).