fix(text): make title 1 text use light weight
This commit is contained in:
parent
2ca8961b9f
commit
0ef3cced6a
1 changed files with 1 additions and 1 deletions
|
|
@ -29,7 +29,7 @@ pub fn title1<'a>(text: impl Into<Cow<'a, str>> + 'a) -> Text<'a, crate::Theme,
|
||||||
Text::new(text.into())
|
Text::new(text.into())
|
||||||
.size(32.0)
|
.size(32.0)
|
||||||
.line_height(LineHeight::Absolute(44.0.into()))
|
.line_height(LineHeight::Absolute(44.0.into()))
|
||||||
.font(crate::font::semibold())
|
.font(crate::font::light())
|
||||||
}
|
}
|
||||||
|
|
||||||
/// [`Text`] widget with the Title 2 typography preset.
|
/// [`Text`] widget with the Title 2 typography preset.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue