Skip to content

Commit 3e6d208

Browse files
committed
Docs: add missing text-shadow theme key to configuration docs
The theme-key table in docs/configuration.md listed 18 supported theme keys, but the library actually supports 19: the `text-shadow` key (namespace `--text-shadow-*`), which was added for Tailwind v4.1's text-shadow utilities and is defined via fromTheme('text-shadow') in default-config.ts and in DefaultThemeGroupIds in types.ts, was missing from the table. Anyone reading the docs to configure a custom `--text-shadow-*` theme scale would not have known the key exists. This adds the missing row to the table. The table mirrors the order of the fromTheme() declarations in default-config.ts rather than being alphabetical, so the new row is placed between `inset-shadow` and `drop-shadow` to match. Cell padding follows the existing column widths so the table stays aligned. No code change is needed since the theme key was already implemented.
1 parent 63aad66 commit 3e6d208

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎docs/configuration.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,7 @@ In the Tailwind config you can modify your theme variable namespace to add class
203203
| `--radius-*` | `radius` |
204204
| `--shadow-*` | `shadow` |
205205
| `--inset-shadow-*` | `inset-shadow` |
206+
| `--text-shadow-*` | `text-shadow` |
206207
| `--drop-shadow-*` | `drop-shadow` |
207208
| `--blur-*` | `blur` |
208209
| `--perspective-*` | `perspective` |

0 commit comments

Comments
 (0)