From 03648469ec400c5250fea65811b2f0bd10c5224c Mon Sep 17 00:00:00 2001 From: Ren Amamiya Date: Mon, 16 Nov 2026 18:55:34 +0700 Subject: [PATCH] Cap typography weight at semibold - Render title and headline roles in semibold instead of bold. --- crates/theme/src/typography.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/crates/theme/src/typography.rs b/crates/theme/src/typography.rs index be0a3d8..20547c1 100644 --- a/crates/theme/src/typography.rs +++ b/crates/theme/src/typography.rs @@ -10,8 +10,8 @@ const LADDER: [Rung; 11] = [ (24.0, 32.0, FontWeight::SEMIBOLD), (20.0, 28.0, FontWeight::SEMIBOLD), (18.0, 24.0, FontWeight::SEMIBOLD), - (16.0, 24.0, FontWeight::BOLD), - (14.0, 20.0, FontWeight::BOLD), + (16.0, 24.0, FontWeight::SEMIBOLD), + (14.0, 20.0, FontWeight::SEMIBOLD), (16.0, 24.0, FontWeight::NORMAL), (14.0, 20.0, FontWeight::NORMAL), (14.0, 20.0, FontWeight::NORMAL), @@ -160,8 +160,8 @@ mod tests { (TextRole::LargeTitle, 24.0, 32.0, FontWeight::SEMIBOLD), (TextRole::Title, 20.0, 28.0, FontWeight::SEMIBOLD), (TextRole::Title2, 18.0, 24.0, FontWeight::SEMIBOLD), - (TextRole::Title3, 16.0, 24.0, FontWeight::BOLD), - (TextRole::Headline, 14.0, 20.0, FontWeight::BOLD), + (TextRole::Title3, 16.0, 24.0, FontWeight::SEMIBOLD), + (TextRole::Headline, 14.0, 20.0, FontWeight::SEMIBOLD), (TextRole::Body, 16.0, 24.0, FontWeight::NORMAL), (TextRole::Callout, 14.0, 20.0, FontWeight::NORMAL), (TextRole::Subheadline, 14.0, 20.0, FontWeight::NORMAL),