font-family
Utilities for controlling the font family stack applied to Iced text widgets.
ISS preview

Examples
Section titled “Examples”use iced::widget::text;use iss::{tw, TwExt};
let code = text("cargo test").tw(tw!("font-mono text-xs text-sky-300"));use iss::typed::*;
let style = IssStyle::new().font_mono().text_xs().text_color(palette::SKY_300);Class Reference
Section titled “Class Reference”| Tailwind Class | CSS Property / Effect | iss::typed Builder |
|---|---|---|
font-sans |
font-family: var(--font-sans); |
.font_sans() |
font-serif |
font-family: var(--font-serif); |
.font_serif() |
font-mono |
font-family: var(--font-mono); |
.font_mono() |
font-['Inter'] |
font-family: 'Inter'; |
.font_family_custom("Inter") |
font-(--font-display) |
font-family: var(--font-display); |
.font_var("--font-display") |