Skip to main content

klirr_core/models/
font_weight.rs

1use crate::prelude::*;
2
3/// A font weight is a style of a font, e.g. Regular, Bold, Italic, BoldItalic.
4#[derive(Debug, Display, Clone, Copy, PartialEq, Eq, Hash, EnumIter)]
5pub enum FontWeight {
6    /// Regular weight of the font, typically used for body text.
7    Regular,
8
9    /// Bold weight of the font, typically used for emphasis or headings.
10    Bold,
11
12    /// Italic weight of the font, typically used for emphasis or to denote titles.
13    Italic,
14
15    /// Bold Italic weight of the font, typically used for emphasis in headings or titles.
16    BoldItalic,
17}