Skip to content
This repository was archived by the owner on Dec 15, 2024. It is now read-only.

Releases: benface/tailwindcss-alt

v3.0.0

10 May 01:34

Choose a tag to compare

Added

  • Added a variants option (set to ['alt'] by default) which can be used to provide multiple alternative variants (e.g. both alt and dark)

Removed

  • Removed the className option (the class that needs to be added to a parent element for a variant to take effect is the same as the variant’s name as defined in variants)

v2.0.0

05 Feb 18:52

Choose a tag to compare

Added

  • Added 4 variants: alt-first, alt-last, alt-odd, and alt-even

Changed

  • Changed to use Tailwind 1.2’s new plugin definition syntax

v1.0.1

20 Dec 22:18

Choose a tag to compare

Fixed

  • The className option is now properly escaped in the generated CSS
  • Tailwind’s prefix option is now properly applied to the .group part of the selector for group variants

v1.0.0

20 Dec 21:37

Choose a tag to compare

Initial release