Skip to content

Commit 9c253ff

Browse files
Add tailwindcss/lib/util/flattenColorPalette.js export
1 parent d045aaa commit 9c253ff

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10-
- Nothing yet!
10+
### Fixed
11+
12+
- Export `tailwindcss/lib/util/flattenColorPalette.js` for backward compatibility ([#16411](https://github.com/tailwindlabs/tailwindcss/pull/16411))
1113

1214
## [4.0.6] - 2025-02-10
1315

packages/tailwindcss/package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@
3535
"require": "./src/compat/flatten-color-palette.cts",
3636
"import": "./src/compat/flatten-color-palette.ts"
3737
},
38+
"./lib/util/flattenColorPalette.js": {
39+
"require": "./src/compat/flatten-color-palette.cts",
40+
"import": "./src/compat/flatten-color-palette.ts"
41+
},
3842
"./defaultTheme": {
3943
"require": "./src/compat/default-theme.cts",
4044
"import": "./src/compat/default-theme.ts"

0 commit comments

Comments
 (0)