- Auto-abstraction of colors from tailwind utilities
This means your tailwind files are likely much smaller.
To upgrade, import the new module
Tailwind.Themeand transform utilities likebg_blue_500into calls of the formbg_color blue_500. - Abstracted out commonly used code in all generated code into
matheus23/elm-tailwind-modules-basepackage. - Support percentage signs in tailwind class names
- Relaxed tailwindcss
peerDependencyversion bounds to include^3.1.6.
- Support for tailwind v3 by turning off the JIT using tailwind's
safelistoption
- Added the
docssubmodule and made it possible to inject custom documentation generators via thegenerateDocumentationsetting.
- Fix the --tailwind-config CLI argument not being relative to the current working directory
- Changed node API:
- Added documentation to
runandasPostcssPlugin - Exposed
writeGeneratedFiles - Removed
postcssFileconfiguration option fromrun - Made
asPostcssPluginparameters named
- Added documentation to
- Added a new flag: --with-docs
- Added
generateDocumentationparameter to node API to generate documentation
- Fix: Make a non-null
postcssFileoption work.
- First release