Skip to content

Commit c7d12f5

Browse files
Properly migrate borderRadius to --radius
1 parent 3b62ab7 commit c7d12f5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ export function themeableValues(config: ResolvedConfig['theme']): [string[], unk
113113
export function keyPathToCssProperty(path: string[]) {
114114
if (path[0] === 'colors') path[0] = 'color'
115115
if (path[0] === 'screens') path[0] = 'breakpoint'
116+
if (path[0] === 'borderRadius') path[0] = 'radius'
116117

117118
return (
118119
path

0 commit comments

Comments
 (0)