caret-color
Utilities for controlling the text insertion cursor color inside Iced text_input widgets.
ISS preview

Examples
Section titled “Examples”use iced::widget::text_input;use iss::{tw, TwExt};
let input = text_input("Command", &cmd).tw(tw!("px-3 py-2 bg-zinc-900 text-white caret-blue-400 rounded-lg"));use iss::typed::*;
let style = IssStyle::new().caret(palette::BLUE_400).bg(palette::ZINC_900);Class Reference
Section titled “Class Reference”| Tailwind Class | CSS Property / Effect | iss::typed Builder |
|---|---|---|
caret-<color>-<shade> |
caret-color: <palette>; |
.caret(palette::SKY_400) |
caret-auto / inherit / current / transparent |
Keyword caret colors; |
.caret_auto() |
caret-(--color-primary) |
caret-color: var(--color-primary); |
.caret_var("--color-primary") |