systemprompt_provider_contracts/web_config/theme/
typography.rs1use serde::{Deserialize, Serialize};
4
5#[derive(Debug, Clone, Serialize, Deserialize)]
6pub struct TypographyConfig {
7 pub sizes: TypographySizes,
8 pub weights: TypographyWeights,
9}
10
11#[derive(Debug, Clone, Serialize, Deserialize)]
12pub struct TypographySizes {
13 pub xs: String,
14 pub sm: String,
15 pub md: String,
16 pub lg: String,
17 pub xl: String,
18 pub xxl: String,
19}
20
21#[derive(Debug, Clone, Copy, Serialize, Deserialize)]
22pub struct TypographyWeights {
23 pub regular: u16,
24 pub medium: u16,
25 pub semibold: u16,
26 pub bold: u16,
27}