klirr-core 0.2.1

Zero-maintenance and smart FOSS generating beautiful invoices for services and expenses.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use crate::prelude::*;

/// A font weight is a style of a font, e.g. Regular, Bold, Italic, BoldItalic.
#[derive(Debug, Display, Clone, Copy, PartialEq, Eq, Hash, EnumIter)]
pub enum FontWeight {
    /// Regular weight of the font, typically used for body text.
    Regular,

    /// Bold weight of the font, typically used for emphasis or headings.
    Bold,

    /// Italic weight of the font, typically used for emphasis or to denote titles.
    Italic,

    /// Bold Italic weight of the font, typically used for emphasis in headings or titles.
    BoldItalic,
}