Releases: stormwarning/tailwindcss-capsize
v4.0.1
v4.0.0
Major Changes
-
Update plugin for Tailwind v4 support (#247)
v4 was a major change to how projects are configured as well as what plugins are allowed to modify. Previously, this plugin disabled
corePluginslikefontSizein order to include custom CSS properties within the same utilities. This is no longer possible in v4, so while the usage hasn't changed, the CSS being output now includes duplicate declarations — one from the plugin and one from Tailwind itself.v4 also allows configuration within CSS itself. However, this plugin relies on object values which aren't supported in CSS, so a JavaScript config file is still required. You can either use the JS file for all your settings, or just the settings for this plugin and configure the rest of your project in CSS.
The
modeoption has also been removed. This also removes the dependency on@capsizecss/core.
v3.0.5
v3.0.4
v3.0.3
Patch Changes
-
Fix precision loss with fractional pixel font-sizes #178
Thanks @andriytyurnikov!
v3.0.2
v3.0.1
🐛 Fixed
-
Remove unit from
--font-size-pxcustom property #128Thanks @essejmclean!
Fixes issue withcalc()functions not working correctly.
v3.0.0
💣 Breaking Changes
-
Add
modernoutput mode #123In this mode the
fontFamily,fontSize, andlineHeightcore plugins are replaced, adding custom properties to the output of each which are used in thecalc()expressions in the utility class.modernmode is enabled by default. The previous functionality can be maintained if needed by switching toclassicmode.
v2.1.0
v2.0.0
💣 Breaking Changes
- Use new
@capsize/corelibrary #94 Thanks @DylanVann!
This will change the final output CSS, as the technique to perform
the leading trim has been simplified. See the capsize release notes
for more details.
🐛 Fixed
-
Fix usage when
requireing plugin #95 Thanks @DylanVann!- require('tailwindcss-capsize').default + require('tailwindcss-capsize')