font-weight
Utilities for controlling the weight (boldness) of text from 100 to 900.
ISS preview

Examples
Section titled “Examples”use iced::widget::text;use iss::{tw, TwExt};
let title = text("Release Notes").tw(tw!("text-lg font-semibold text-white"));use iss::typed::*;
let style = IssStyle::new().text_lg().font_semibold().text_color(palette::WHITE);Class Reference
Section titled “Class Reference”| 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) |