text-decoration-thickness
Utilities for controlling the stroke thickness of text decorations.
ISS preview

Examples
Section titled “Examples”use iced::widget::text;use iss::{tw, TwExt};
let accent = text("Highlighted").tw(tw!("underline decoration-2 decoration-blue-500"));use iss::typed::*;
let style = IssStyle::new().underline().decoration_2().decoration_color(palette::BLUE_500);Class Reference
Section titled “Class Reference”| Tailwind Class | CSS Property / Effect | iss::typed Builder |
|---|---|---|
decoration-auto |
text-decoration-thickness: auto; |
.decoration_auto() |
decoration-from-font |
text-decoration-thickness: from-font; |
.decoration_from_font() |
decoration-0 / 1 / 2 / 4 / 8 |
text-decoration-thickness: 0px .. 8px; |
.decoration_2() |
decoration-[3px] |
text-decoration-thickness: 3px; |
.decoration_thickness_px(3) |
Related Utilities
Section titled “Related Utilities”text-decoration-line · text-underline-offset · text-decoration-style