pub struct FontWeight(pub usize);
impl FontWeight {
pub const BOLD: FontWeight = Self::W700;
pub const NORMAL: FontWeight = Self::W400;
pub const VALUES: [FontWeight; 9] = [Self::W100, Self::W200, Self::W300, Self::W400, Self::W500, Self::W600, Self::W700, Self::W800, Self::W900];
pub const W100: FontWeight = FontWeight(0);
pub const W200: FontWeight = FontWeight(1);
pub const W300: FontWeight = FontWeight(2);
pub const W400: FontWeight = FontWeight(3);
pub const W500: FontWeight = FontWeight(4);
pub const W600: FontWeight = FontWeight(5);
pub const W700: FontWeight = FontWeight(6);
pub const W800: FontWeight = FontWeight(7);
pub const W900: FontWeight = FontWeight(8);
}
impl Default for FontWeight {
fn default() -> Self {
Self(0)
}
}