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
corePlugins
likefontSize
in 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
mode
option 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-px
custom property #128Thanks @essejmclean!
Fixes issue withcalc()
functions not working correctly.
v3.0.0
💣 Breaking Changes
-
Add
modern
output mode #123In this mode the
fontFamily
,fontSize
, andlineHeight
core plugins are replaced, adding custom properties to the output of each which are used in thecalc()
expressions in the utility class.modern
mode is enabled by default. The previous functionality can be maintained if needed by switching toclassic
mode.
v2.1.0
v2.0.0
💣 Breaking Changes
- Use new
@capsize/core
library #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
require
ing plugin #95 Thanks @DylanVann!- require('tailwindcss-capsize').default + require('tailwindcss-capsize')