Skip to content

Commit d26390e

Browse files
authored
fix color from colors in the theme() replacement with var() (#1915)
1 parent 8632d98 commit d26390e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pages/docs/v4-beta.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1942,7 +1942,7 @@ Since Tailwind CSS v4.0 includes CSS variables for all of your theme values, we
19421942

19431943
.my-class {
19441944
- background-color: theme(colors.red.500);
1945-
+ background-color: var(--colors-red-500);
1945+
+ background-color: var(--color-red-500);
19461946
}
19471947
```
19481948

0 commit comments

Comments
 (0)