chore: remove google_fonts dependency and update typography to use system fonts

This commit is contained in:
cogwheel0
2025-08-28 10:12:59 +05:30
parent 7c4fb892b9
commit e265d35579
7 changed files with 72 additions and 90 deletions

View File

@@ -1092,7 +1092,7 @@ class _ChatPageState extends ConsumerState<ChatPage> {
.copyWith(
color:
context.conduitTheme.textPrimary,
fontWeight: FontWeight.w400,
fontWeight: FontWeight.w600,
),
maxLines: 1,
overflow: TextOverflow.ellipsis,
@@ -1220,7 +1220,7 @@ class _ChatPageState extends ConsumerState<ChatPage> {
.copyWith(
color:
context.conduitTheme.textPrimary,
fontWeight: FontWeight.w400,
fontWeight: FontWeight.w600,
),
maxLines: 1,
overflow: TextOverflow.ellipsis,

View File

@@ -486,6 +486,13 @@ class _UserMessageBubbleState extends ConsumerState<UserMessageBubble>
color: context.conduitTheme.chatBubbleUserText,
),
softWrap: true,
textAlign: TextAlign.left,
textHeightBehavior: const TextHeightBehavior(
applyHeightToFirstAscent: false,
applyHeightToLastDescent: false,
leadingDistribution:
TextLeadingDistribution.even,
),
),
),
),