#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum FontStyle {
Normal,
Italic,
Oblique,
}
#[derive(Clone, Copy, Debug, PartialEq, Eq, PartialOrd, Ord)]
pub struct FontWeight(pub u16);
impl FontWeight {
pub const THIN: FontWeight = FontWeight(100);
pub const EXTRA_LIGHT: FontWeight = FontWeight(200);
pub const LIGHT: FontWeight = FontWeight(300);
pub const NORMAL: FontWeight = FontWeight(400);
pub const MEDIUM: FontWeight = FontWeight(500);
pub const SEMI_BOLD: FontWeight = FontWeight(600);
pub const BOLD: FontWeight = FontWeight(700);
pub const EXTRA_BOLD: FontWeight = FontWeight(800);
pub const BLACK: FontWeight = FontWeight(900);
}
#[derive(Clone, Debug, Default, PartialEq)]
pub struct TextStyle {
pub font_family: Option<String>,
pub font_size: Option<f32>,
pub font_weight: Option<FontWeight>,
pub font_style: Option<FontStyle>,
pub letter_spacing: Option<f32>,
pub line_height: Option<f32>,
}