border-color
Utilities for controlling uniform, per-side, logical border colors, and divider colors.
ISS preview

Examples
Section titled “Examples”use iced::widget::container;use iss::{tw, TwExt};
let panel = container(body).tw(tw!("p-4 border border-zinc-200 dark:border-zinc-800 hover:border-blue-500 rounded-xl"));use iss::typed::*;
let style = IssStyle::new().border().border_color(palette::ZINC_800).hover(|s| s.border_color(palette::BLUE_500));Class Reference
Section titled “Class Reference”| Tailwind Class | CSS Property / Effect | iss::typed Builder |
|---|---|---|
border-<color>-<shade> |
border-color: <palette>; |
.border_color(palette::ZINC_800) |
border-t-* / r-* / b-* / l-* / x-* / y-* |
Per-side border colors; |
.border_t_color(palette::BLUE_500) |
border-s-* / border-e-* |
Logical inline border colors; |
.border_s_color(palette::SKY_500) |
divide-<color>-<shade> |
Divider stroke color; |
.divide_color(palette::ZINC_800) |
border-white/15 / border-(--color-border) |
Alpha modifier and @theme tokens; |
.border_color_var("--color-border") |
Behavior Notes
Section titled “Behavior Notes”- Defaults to
currentColorwhenborderis set without an explicit color, matching Tailwind v4.