3.3.2 - 2023-10-30
- [#44] - Fixes typescript error when using the option
"exactOptionalPropertyTypes": true
3.3.0 - 2023-10-30
- Added support for
prefers-color-scheme
3.2.0 - 2023-10-27
- [#30] - The colors defined via the plugin now properly override tailwind's default colors in case of name clash.
- NativeWind 2 with Next.js is no longer supported
3.1.2 - 2023-10-23
- Fixed intellisense for the theme class
3.1.0 - 2023-10-23
- [#26] - NativeWind 2 with the Next.js setup is now supported.
3.0.3 - 2023-09-04
- Added support for group modifiers with theme variants
3.0.0 - 2023-09-04
- The variants can now be declared anywhere without having to redeclare the theme.
- New option
produceThemeVariant
to customize the variant names. It will fallback toproduceThemeClass
if omitted
- Renamed the option
getCssVariable
toproduceCssVariable
. - Renamed the option
getThemeClassName
toproduceThemeClass
. The default return value is now thethemeName
instead oftheme-${themeName}
2.2.0 - 2023-08-22
strict
option. Iffalse
(default) invalid colors are ignored, iftrue
invalid colors throw an error
2.1.1 - 2023-08-21
- Fixed a typescript error when using a functional config and the defaultTheme option
2.1.0 - 2023-08-21
resolveConfig
was renamed toresolveTwcConfig
- Only two types are exposed:
TwcConfig
andTwcOptions
, corresponding tocreateThemes(TwcConfig, TwcOptions)
andresolveTwcConfig(TwcConfig, TwcOptions)
. Previously exposed types are no longer valid.
defaultTheme
option
2.0.3 - 2023-08-06
- Dropped support for the
cssVariablePrefix
andcssVariableSuffix
options. Check out the newgetCssVariable
Option
getCssVariable
option to customize the css variables.getThemeClassName
option to customize the generated theme classNames and variants.
1.2.6 - 2023-05-03
- [#11] - Removed the cross-var npm package
1.2.5 - 2023-04-26
- [#10] - added options to customize the CSS variables:
cssVariablePrefix
,cssVariableSuffix
1.2.4 - 2023-04-20
- [#9] - fixed missing support for '/' in color names
1.2.1 - 2023-04-13
- [#7] - fixed missing support for DEFAULT colors
1.2.0 - 2023-03-29
- support for esm
- [#6] - increased color conversion precision to 1 decimal