Skip to content

font-weight

Utilities for controlling the weight (boldness) of text from 100 to 900.

ISS preview
Iced + ISS preview demonstrating font-weight
font-normal/.font_normal()
use iced::widget::text;
use iss::{tw, TwExt};
let title = text("Release Notes").tw(tw!("text-lg font-semibold text-white"));
Tailwind Class CSS Property / Effect iss::typed Builder
font-thin / font-extralight / font-light font-weight: 100 / 200 / 300; .font_thin() / .font_light()
font-normal / font-medium font-weight: 400 / 500; .font_normal() / .font_medium()
font-semibold / font-bold font-weight: 600 / 700; .font_semibold() / .font_bold()
font-extrabold / font-black font-weight: 800 / 900; .font_extrabold() / .font_black()
font-[650] font-weight: 650; .font_weight_num(650)

font-size · font-family · font-style