Skip to content

text-decoration-color

Utilities for controlling the stroke color of text decorations.

ISS preview
Iced + ISS preview demonstrating text-decoration-color
ISS preview for text-decoration-color
use iced::widget::text;
use iss::{tw, TwExt};
let term = text("Zero-copy IR").tw(tw!("underline decoration-sky-400 decoration-2"));
Tailwind Class CSS Property / Effect iss::typed Builder
decoration-<color>-<shade> text-decoration-color: <palette>; .decoration_color(palette::SKY_400)
decoration-sky-400/70 Alpha-modified decoration color; .decoration_color(palette::SKY_400.alpha(0.7))
decoration-inherit / current / transparent Keyword decoration colors; .decoration_current()
decoration-(--color-accent) text-decoration-color: var(--color-accent); .decoration_color_var("--color-accent")

text-decoration-line · text-decoration-style · text-decoration-thickness