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