Skip to content

AliReza99/tailwindcss

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

npx tailwindcss-candidates

A fork of Tailwind CSS with added functionality to output all detected Tailwind CSS classname candidates. This feature allows you to see which classnames are recognized during the build process, aiding in debugging and understanding which classes Tailwind is using.

Badges

npm npm

Usage

Use this fork just like Tailwind CSS. In addition to generating the final CSS output, it will also provide a list of all classname candidates it detected, which can be used for debugging or building a safelist.

npx tailwindcss-candidates -i ./src/styles.css -o ./candidates.txt --content "./src/**/*.{html,js,jsx,ts,tsx}"

Given an input CSS file, src/styles.css:

@tailwind components;
@tailwind utilities;

This will generate candidates.txt:

sr-only
fixed
absolute
relative

License

This fork follows the MIT License in alignment with the original Tailwind CSS project.

About

A fork of Tailwind CSS with added functionality to output all detected Tailwind CSS classname candidates

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 90.8%
  • CSS 7.5%
  • HTML 1.6%
  • TypeScript 0.1%
  • Shell 0.0%
  • Svelte 0.0%