Skip to content

Commit 83a4ec0

Browse files
Publish release (#250)
1 parent 926928f commit 83a4ec0

File tree

3 files changed

+13
-12
lines changed

3 files changed

+13
-12
lines changed

.changeset/chatty-days-sip.md

Lines changed: 0 additions & 11 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
# Change Log
22

3+
## 4.0.0
4+
5+
### Major Changes
6+
7+
- Update plugin for Tailwind v4 support ([#247](https://github.com/stormwarning/tailwindcss-capsize/pull/247))
8+
9+
v4 was a major change to how projects are configured as well as what plugins are allowed to modify. Previously, this plugin disabled `corePlugins` like `fontSize` 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.
10+
11+
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.
12+
13+
The `mode` option has also been removed. This also removes the dependency on `@capsizecss/core`.
14+
315
## 3.0.5
416

517
### Patch Changes

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "tailwindcss-capsize",
3-
"version": "3.0.5",
3+
"version": "4.0.0",
44
"description": "TailwindCSS leading-trim utility classes.",
55
"keywords": [
66
"tailwindcss",

0 commit comments

Comments
 (0)