From ad718e1bb2232167ce40ab5d6f21146fea52ebe7 Mon Sep 17 00:00:00 2001 From: Tommy Chow Date: Mon, 9 Mar 2026 00:04:42 -0700 Subject: [PATCH] refine list tile and section header typography Co-Authored-By: Claude Opus 4.6 --- lib/theme.dart | 17 +++++++++++++++++ lib/widgets/section_header.dart | 2 +- 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/lib/theme.dart b/lib/theme.dart index 06216a11..a811afc1 100644 --- a/lib/theme.dart +++ b/lib/theme.dart @@ -196,6 +196,23 @@ class FrostyThemes { ), ), ), + listTileTheme: ListTileThemeData( + titleTextStyle: TextStyle( + color: colorScheme.onSurface, + fontSize: 15, + fontWeight: FontWeight.w500, + letterSpacing: -0.011, + height: 1.5, + ), + subtitleTextStyle: TextStyle( + color: colorScheme.onSurfaceVariant.withValues(alpha: 0.7), + fontSize: 13, + height: 1.4, + ), + leadingAndTrailingTextStyle: TextStyle( + color: colorScheme.onSurfaceVariant.withValues(alpha: 0.6), + ), + ), navigationBarTheme: NavigationBarThemeData( elevation: 0, backgroundColor: backgroundColor, diff --git a/lib/widgets/section_header.dart b/lib/widgets/section_header.dart index 6ac20ac2..ed598760 100644 --- a/lib/widgets/section_header.dart +++ b/lib/widgets/section_header.dart @@ -42,7 +42,7 @@ class SectionHeader extends StatelessWidget { fontWeight: FontWeight.w500, letterSpacing: 0.8, color: context.colorScheme.onSurfaceVariant.withValues( - alpha: 0.6, + alpha: 0.5, ), ), ),