stroke
Utilities for controlling the outline stroke color of vector SVG scenes.
ISS preview

Examples
Section titled “Examples”use iss::{svg_tw, tw, SvgScene};
let check = SvgScene::new(24.0, 24.0).path("M5 13l4 4L19 7");let icon = svg_tw(check, tw!("size-6 fill-none stroke-emerald-400 stroke-2"));use iss::typed::*;
let icon = svg_tw(check, IssStyle::new().size(6).fill_none().stroke(palette::EMERALD_400).stroke_width(2));Class Reference
Section titled “Class Reference”| Tailwind Class | CSS Property / Effect | iss::typed Builder |
|---|---|---|
stroke-<color>-<shade> |
stroke: <palette>; |
.stroke(palette::SKY_400) |
stroke-sky-400/80 |
Alpha-modified vector stroke; |
.stroke(palette::SKY_400.alpha(0.8)) |
stroke-none / current / inherit / transparent |
Keyword SVG strokes; |
.stroke_none() / .stroke_current() |
stroke-(--color-fg) |
stroke: var(--color-fg); |
.stroke_var("--color-fg") |
Related Utilities
Section titled “Related Utilities”fill · stroke-width · color