From c75639e5e0912d51837616917e3b9644827f1814 Mon Sep 17 00:00:00 2001 From: Dany Castillo <31006608+dcastil@users.noreply.github.com> Date: Sat, 5 Apr 2025 21:49:29 +0200 Subject: [PATCH 1/2] Fix incorrect text-shadow color name in API table --- src/docs/text-shadow.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/docs/text-shadow.mdx b/src/docs/text-shadow.mdx index d15199f98..f83fe2c56 100644 --- a/src/docs/text-shadow.mdx +++ b/src/docs/text-shadow.mdx @@ -36,7 +36,7 @@ export const description = "Utilities for controlling the shadow of a text eleme ["text-shadow-current", "--tw-shadow-color currentColor;"], ["text-shadow-transparent", "--tw-shadow-color transparent;"], ...Object.entries(colors).map(([name, value]) => [ - `shadow-${name}`, + `text-shadow-${name}`, `--tw-shadow-color var(--color-${name}); /* ${value} */`, ]), ]} From e58ea786998ee16e1bda20397dabb06029801ca8 Mon Sep 17 00:00:00 2001 From: Dany Castillo <31006608+dcastil@users.noreply.github.com> Date: Sun, 6 Apr 2025 10:55:01 +0200 Subject: [PATCH 2/2] Fix incorrect CSS variable name in text-shadow color API table --- src/docs/text-shadow.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/docs/text-shadow.mdx b/src/docs/text-shadow.mdx index f83fe2c56..e23e9b0c1 100644 --- a/src/docs/text-shadow.mdx +++ b/src/docs/text-shadow.mdx @@ -37,7 +37,7 @@ export const description = "Utilities for controlling the shadow of a text eleme ["text-shadow-transparent", "--tw-shadow-color transparent;"], ...Object.entries(colors).map(([name, value]) => [ `text-shadow-${name}`, - `--tw-shadow-color var(--color-${name}); /* ${value} */`, + `--tw-text-shadow-color var(--color-${name}); /* ${value} */`, ]), ]} />