fix(text): make title 1 text use light weight

This commit is contained in:
Jeremy Soller 2024-11-22 12:48:06 -07:00
parent 2ca8961b9f
commit 0ef3cced6a
No known key found for this signature in database
GPG key ID: D02FD439211AF56F

View file

@ -29,7 +29,7 @@ pub fn title1<'a>(text: impl Into<Cow<'a, str>> + 'a) -> Text<'a, crate::Theme,
Text::new(text.into())
.size(32.0)
.line_height(LineHeight::Absolute(44.0.into()))
.font(crate::font::semibold())
.font(crate::font::light())
}
/// [`Text`] widget with the Title 2 typography preset.