https://github.com/stormwarning/tailwindcss-types-cli
A CLI to generate type declarations from your Tailwind CSS classes.
https://github.com/stormwarning/tailwindcss-types-cli
cli tailwindcss types typescript
Last synced: 4 months ago
JSON representation
A CLI to generate type declarations from your Tailwind CSS classes.
- Host: GitHub
- URL: https://github.com/stormwarning/tailwindcss-types-cli
- Owner: stormwarning
- License: isc
- Created: 2020-09-21T20:22:50.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2023-03-13T05:56:49.000Z (about 3 years ago)
- Last Synced: 2025-04-07T18:54:56.885Z (about 1 year ago)
- Topics: cli, tailwindcss, types, typescript
- Language: JavaScript
- Homepage:
- Size: 897 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# tailwindcss-types-cli
> A CLI to generate type declarations from your Tailwind CSS classes.
## Usage
This doesn't run PurgeCSS before compiling the list of classes — make sure the
output file is not included in the files PurgeCSS checks or it will find *all*
the class strings and purge nothing, giving you a massive CSS file.
## Prior art
Similar projects, adjacent goals.
- [Tailwind CSS IntelliSense](https://github.com/tailwindlabs/tailwindcss-intellisense)
- [Typed Tailwind](https://github.com/dvkndn/typed.tw)
- [tailwindcss-classnames](https://github.com/muhammadsammy/tailwindcss-classnames)