4.0.0-beta.1 - 2025-01-29
Colors are now converted to oklch format, this change enables the use of a default color opacity in the theme as well as the use of tailwind's color palette.
Thanks to @PHILLIPS71
4.0.0-beta.0 - 2025-01-24
Added support for Tailwind 4.
- data attributes are no longer supported to set the theme
- default themes are no longer supported
- default color opacity is no longer supported in the config
- slash in className is no longer supported
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
produceThemeVariantto customize the variant names. It will fallback toproduceThemeClassif omitted
- Renamed the option
getCssVariabletoproduceCssVariable. - Renamed the option
getThemeClassNametoproduceThemeClass. The default return value is now thethemeNameinstead oftheme-${themeName}
2.2.0 - 2023-08-22
strictoption. Iffalse(default) invalid colors are ignored, iftrueinvalid 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
resolveConfigwas renamed toresolveTwcConfig- Only two types are exposed:
TwcConfigandTwcOptions, corresponding tocreateThemes(TwcConfig, TwcOptions)andresolveTwcConfig(TwcConfig, TwcOptions). Previously exposed types are no longer valid.
defaultThemeoption
2.0.3 - 2023-08-06
- Dropped support for the
cssVariablePrefixandcssVariableSuffixoptions. Check out the newgetCssVariableOption
getCssVariableoption to customize the css variables.getThemeClassNameoption 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