- Auto-abstraction of colors from tailwind utilities
This means your tailwind files are likely much smaller.
To upgrade, import the new module
Tailwind.Theme
and transform utilities likebg_blue_500
into calls of the formbg_color blue_500
. - Abstracted out commonly used code in all generated code into
matheus23/elm-tailwind-modules-base
package. - Support percentage signs in tailwind class names
- Relaxed tailwindcss
peerDependency
version bounds to include^3.1.6
.
- Support for tailwind v3 by turning off the JIT using tailwind's
safelist
option
- Added the
docs
submodule and made it possible to inject custom documentation generators via thegenerateDocumentation
setting.
- Fix the --tailwind-config CLI argument not being relative to the current working directory
- Changed node API:
- Added documentation to
run
andasPostcssPlugin
- Exposed
writeGeneratedFiles
- Removed
postcssFile
configuration option fromrun
- Made
asPostcssPlugin
parameters named
- Added documentation to
- Added a new flag: --with-docs
- Added
generateDocumentation
parameter to node API to generate documentation
- Fix: Make a non-null
postcssFile
option work.
- First release