Text

The text module provides a variety of standard typography presets to use in your applications.

let body = widget::text::body("Body");
let caption = widget::text::caption("Caption");
let caption_heading = widget::text::caption_heading("Caption Heading");
let heading = widget::text::heading("Heading");
let monotext = widget::text::monotext("Monotext");
let title1 = widget::text::title1("Title 1");
let title2 = widget::text::title2("Title 2");
let title3 = widget::text::title3("Title 3");