Releases: jacopo-eth/nightwind
Releases · jacopo-eth/nightwind
1.1.13
1.1.12
Added
- enable() function in helpers to selectively enable dark/light mode
- beforeTransition() function in helpers, fixing unwanted transitions as a side-effect of having nightwind class at html tag.
Fixed
- added tailwindcss as peerDependency
Huge thanks to @jaulz, @Djiit and @josephbuchma for the contributions for this release!
1.1.11
Added
- Support for CSS variables
1.1.10
Added
- 'nightwind-prevent-block' class
- fixedBlockClass Nightwind configuration option
- transitionClasses Nightwind configuration option
Changed
- Nightwind by default now generates transition classes only for 'text', 'bg' and 'border' color classes.
1.1.9
Changed
- Nightwind configuration option 'importantSibling' into 'importantNode'
1.1.8
Added
- Support for important TailwindCSS configuration
- Configuration option 'importantSibling' in nightwind config
1.1.7
Added
- Support for tailwindcss-jit
Fixed
- Bug where tailwindcss-typography nightwind classes were not correctly generated, when using tailwindcss-jit
1.1.6
Fixed
- Bug where sometimes color classes with 'inherit' or 'transparent' were not rendered correctly in dark mode
1.1.5
1.1.4
Changed
- New 'variants', 'colorClasses' and 'transitionDuration' configuration in tailwind.config.js (with backward compatibility)
Fixed
- 'group-hover' classes not being correctly generated