Skip to content

Commit ac202ff

Browse files
authored
Update upgrade CLI to handle containers config correctly (#16169)
1 parent b8d8548 commit ac202ff

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
- Nothing yet!
1111

12+
### Fixed
13+
14+
- Ensure that the `containers` JS theme key is added to the `--container-*` namespace. ([#16169](https://github.com/tailwindlabs/tailwindcss/pull/16169))
15+
1216
## [4.0.3] - 2025-02-01
1317

1418
### Fixed

packages/tailwindcss/src/compat/apply-config-to-theme.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@ export function keyPathToCssProperty(path: string[]) {
151151
if (path[0] === 'borderRadius') path[0] = 'radius'
152152
if (path[0] === 'boxShadow') path[0] = 'shadow'
153153
if (path[0] === 'colors') path[0] = 'color'
154+
if (path[0] === 'containers') path[0] = 'container'
154155
if (path[0] === 'fontFamily') path[0] = 'font'
155156
if (path[0] === 'fontSize') path[0] = 'text'
156157
if (path[0] === 'letterSpacing') path[0] = 'tracking'

0 commit comments

Comments
 (0)