Skip to content

Commit 9bd8291

Browse files
authored
Fix incorrect text-shadow color name in API table (#2196)
`shadow-<color>` is used for box-shadow, the right name is `text-shadow-<color>` according to tailwindlabs/tailwindcss#17389.
1 parent 94886aa commit 9bd8291

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/docs/text-shadow.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ export const description = "Utilities for controlling the shadow of a text eleme
3636
["text-shadow-current", "--tw-shadow-color currentColor;"],
3737
["text-shadow-transparent", "--tw-shadow-color transparent;"],
3838
...Object.entries(colors).map(([name, value]) => [
39-
`shadow-${name}`,
40-
`--tw-shadow-color var(--color-${name}); /* ${value} */`,
39+
`text-shadow-${name}`,
40+
`--tw-text-shadow-color var(--color-${name}); /* ${value} */`,
4141
]),
4242
]}
4343
/>

0 commit comments

Comments
 (0)