use teksilo_tokens::{FontWeight, TypographyTokens};
pub fn m3_typography() -> TypographyTokens {
let mut t = TypographyTokens::default();
#[cfg(feature = "bundled-fonts")]
{
for style in [
&mut t.body,
&mut t.body_bold,
&mut t.small,
&mut t.small_bold,
&mut t.tiny,
] {
style.family = "Roboto".to_string();
}
}
t.body.size = 14.0;
t.body.weight = FontWeight::REGULAR;
t.body.line_height = 1.43;
t.body.letter_spacing = 0.25;
t.body_bold.size = 14.0;
t.body_bold.weight = FontWeight::MEDIUM;
t.body_bold.line_height = 1.43;
t.body_bold.letter_spacing = 0.1;
t.small.size = 12.0;
t.small.weight = FontWeight::REGULAR;
t.small.line_height = 1.33;
t.small.letter_spacing = 0.4;
t.small_bold.size = 12.0;
t.small_bold.weight = FontWeight::MEDIUM;
t.small_bold.line_height = 1.33;
t.small_bold.letter_spacing = 0.5;
t.tiny.size = 11.0;
t.tiny.weight = FontWeight::MEDIUM;
t.tiny.line_height = 1.45;
t.tiny.letter_spacing = 0.5;
t
}