Skip to content

Commit

Permalink
fix(text): make title 1 text use light weight
Browse files Browse the repository at this point in the history
  • Loading branch information
jackpot51 committed Nov 22, 2024
1 parent 2ca8961 commit 0ef3cce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/widget/text.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 0ef3cce

Please sign in to comment.