Nightwind Versions Save

An automatic, customisable, overridable Tailwind dark mode plugin

v1.1.13

1 year ago

Fixed

  • support for tailwind v3

v1.1.12

2 years ago

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!

v1.1.11

3 years ago

Added

  • Support for CSS variables

v1.1.10

3 years ago

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.

v1.1.9

3 years ago

Changed

  • Nightwind configuration option 'importantSibling' into 'importantNode'

v1.1.8

3 years ago

Added

v1.1.7

3 years ago

Added

Fixed

  • Bug where tailwindcss-typography nightwind classes were not correctly generated, when using tailwindcss-jit

v1.1.6

3 years ago

Fixed

  • Bug where sometimes color classes with 'inherit' or 'transparent' were not rendered correctly in dark mode

v1.1.4

3 years ago

Changed

  • New 'variants', 'colorClasses' and 'transitionDuration' configuration in tailwind.config.js (with backward compatibility)

Fixed

  • 'group-hover' classes not being correctly generated

v1.1.3

3 years ago

Removed

  • Duplicated Nightwind transition classes from gradient classes