Skip to content

Latest commit

 

History

History
112 lines (63 loc) · 3.98 KB

CHANGELOG.md

File metadata and controls

112 lines (63 loc) · 3.98 KB

Changelog

3.3.2 - 2023-10-30

Fixed

  • [#44] - Fixes typescript error when using the option "exactOptionalPropertyTypes": true

3.3.0 - 2023-10-30

Added

  • Added support for prefers-color-scheme

3.2.0 - 2023-10-27

Fixed

  • [#30] - The colors defined via the plugin now properly override tailwind's default colors in case of name clash.

Breaking changes:

  • NativeWind 2 with Next.js is no longer supported

3.1.2 - 2023-10-23

Fixed

  • Fixed intellisense for the theme class

3.1.0 - 2023-10-23

Fixed

  • [#26] - NativeWind 2 with the Next.js setup is now supported.

3.0.3 - 2023-09-04

Added

  • Added support for group modifiers with theme variants

3.0.0 - 2023-09-04

Added

  • The variants can now be declared anywhere without having to redeclare the theme.
  • New option produceThemeVariant to customize the variant names. It will fallback to produceThemeClass if omitted

breaking changes:

  • Renamed the option getCssVariable to produceCssVariable.
  • Renamed the option getThemeClassName to produceThemeClass. The default return value is now the themeName instead of theme-${themeName}

2.2.0 - 2023-08-22

Added

  • strict option. If false (default) invalid colors are ignored, if true invalid colors throw an error

2.1.1 - 2023-08-21

Fixed

  • Fixed a typescript error when using a functional config and the defaultTheme option

2.1.0 - 2023-08-21

breaking changes:

  • resolveConfig was renamed to resolveTwcConfig
  • Only two types are exposed: TwcConfig and TwcOptions, corresponding to createThemes(TwcConfig, TwcOptions) and resolveTwcConfig(TwcConfig, TwcOptions). Previously exposed types are no longer valid.

Added

  • defaultTheme option

2.0.3 - 2023-08-06

breaking changes:

  • Dropped support for the cssVariablePrefix and cssVariableSuffix options. Check out the new getCssVariable Option

Added

  • getCssVariable option to customize the css variables.
  • getThemeClassName option to customize the generated theme classNames and variants.

1.2.6 - 2023-05-03

Fixed

  • [#11] - Removed the cross-var npm package

1.2.5 - 2023-04-26

Added

  • [#10] - added options to customize the CSS variables: cssVariablePrefix, cssVariableSuffix

1.2.4 - 2023-04-20

Fixed

  • [#9] - fixed missing support for '/' in color names

1.2.1 - 2023-04-13

Fixed

  • [#7] - fixed missing support for DEFAULT colors

1.2.0 - 2023-03-29

Added

  • support for esm

Fixed

  • [#6] - increased color conversion precision to 1 decimal