Skip to content

Commit f711a01

Browse files
committed
Document caret color utilities
1 parent 4065242 commit f711a01

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/pages/docs/just-in-time-mode.mdx

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,16 @@ Here's the complete list of new pseudo-class variants:
282282
- `in-range`
283283
- `out-of-range`
284284

285+
### Caret color utilities
286+
287+
You can now set the color of the cursor in form fields using the new `caret-{color}` utilities:
288+
289+
```html
290+
<input class="caret-red-500">
291+
```
292+
293+
These are customizable using the `caretColor` key in the `theme` section of your `tailwind.config.js` file.
294+
285295
## Breaking changes
286296

287297
## Known limitations

0 commit comments

Comments
 (0)