Skip to content

Commit aeb9ecb

Browse files
author
Doug MacKenzie
authored
Update tailwindcss to 3.4.0 (#4425)
* Bump tailwindcss to 3.4.0 * Update kaizen theme type to add 'extend' property * Add changeset
1 parent d3ecf2d commit aeb9ecb

File tree

4 files changed

+13
-6
lines changed

4 files changed

+13
-6
lines changed

.changeset/smooth-students-compare.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@kaizen/tailwind": patch
3+
---
4+
5+
Bump tailwindcss to 3.4.0

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@
137137
"stylelint-config-standard-scss": "^12.0.0",
138138
"svg-sprite-loader": "^6.0.11",
139139
"svgo-loader": "~4.0.0",
140-
"tailwindcss": "^3.3.5",
140+
"tailwindcss": "^3.4.0",
141141
"ts-jest": "^29.1.1",
142142
"turbo": "^1.11.2",
143143
"typescript": "^5.3.3",

packages/tailwind/src/tailwind-presets.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@ import { ThemeConfig } from "tailwindcss/types/config"
22
import { defaultTheme } from "@kaizen/design-tokens/"
33
import { kzSpacing } from "./kz-spacing"
44

5-
export type KaizenTailwindTheme = Partial<ThemeConfig>
5+
export type KaizenTailwindTheme = Partial<ThemeConfig> & {
6+
extend: Partial<ThemeConfig>
7+
}
68
export type KaizenTailwindPreset = {
79
theme: KaizenTailwindTheme
810
}

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17757,10 +17757,10 @@ table@^6.8.1:
1775717757
string-width "^4.2.3"
1775817758
strip-ansi "^6.0.1"
1775917759

17760-
tailwindcss@^3.3.5:
17761-
version "3.3.5"
17762-
resolved "https://registry.yarnpkg.com/tailwindcss/-/tailwindcss-3.3.5.tgz#22a59e2fbe0ecb6660809d9cc5f3976b077be3b8"
17763-
integrity sha512-5SEZU4J7pxZgSkv7FP1zY8i2TIAOooNZ1e/OGtxIEv6GltpoiXUqWvLy89+a10qYTB1N5Ifkuw9lqQkN9sscvA==
17760+
tailwindcss@^3.4.0:
17761+
version "3.4.0"
17762+
resolved "https://registry.yarnpkg.com/tailwindcss/-/tailwindcss-3.4.0.tgz#045a9c474e6885ebd0436354e611a76af1c76839"
17763+
integrity sha512-VigzymniH77knD1dryXbyxR+ePHihHociZbXnLZHUyzf2MMs2ZVqlUrZ3FvpXP8pno9JzmILt1sZPD19M3IxtA==
1776417764
dependencies:
1776517765
"@alloc/quick-lru" "^5.2.0"
1776617766
arg "^5.0.2"

0 commit comments

Comments
 (0)