line-height
Utilities for controlling the vertical leading (line height) of text blocks.
ISS preview

Examples
Section titled “Examples”use iced::widget::text;use iss::{tw, TwExt};
let copy = text(paragraph).tw(tw!("text-sm leading-relaxed text-zinc-300"));use iss::typed::*;
let style = IssStyle::new().text_sm().leading_relaxed();Class Reference
Section titled “Class Reference”| Tailwind Class | CSS Property / Effect | iss::typed Builder |
|---|---|---|
leading-<n> |
line-height: calc(var(--spacing) * <n>); |
.leading(6) |
leading-none / tight / snug |
line-height: 1 / 1.25 / 1.375; |
.leading_none() / .leading_tight() |
leading-normal / relaxed / loose |
line-height: 1.5 / 1.625 / 2; |
.leading_normal() / .leading_relaxed() |
leading-[22px] |
line-height: 22px; |
.leading_px(22) |
leading-(--leading-body) |
line-height: var(--leading-body); |
.leading_var("--leading-body") |