Skip to main content

font_at

Function font_at 

Source
pub fn font_at(
    tokens: &Tokens,
    role: Role,
    weight: Weight,
    step: Step,
) -> FontId
Expand description

The font to draw a role’s text at a weight and a step of the theme’s size scale (font_id at the step’s size).