fix(mobile): improve text contrast by using correct color tokens (#438)

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Wes
2026-04-30 14:32:28 -07:00
committed by GitHub
co-authored by Claude Opus 4.6
parent c6b40617e5
commit d6766c71af
2 changed files with 8 additions and 8 deletions
@@ -609,7 +609,7 @@ class _SystemMessageRow extends ConsumerWidget {
child: Icon(
LucideIcons.arrowLeftRight,
size: 12,
color: context.colors.outline,
color: context.colors.onSurfaceVariant,
),
),
const SizedBox(width: Grid.xxs),
@@ -624,7 +624,7 @@ class _SystemMessageRow extends ConsumerWidget {
Text(
formatMessageTime(message.createdAt),
style: context.textTheme.labelSmall?.copyWith(
color: context.colors.outline,
color: context.colors.onSurfaceVariant,
),
),
],
@@ -821,7 +821,7 @@ class _MessageBubble extends ConsumerWidget {
Text(
formatMessageTime(message.createdAt),
style: context.textTheme.labelSmall?.copyWith(
color: context.colors.outline,
color: context.colors.onSurfaceVariant,
),
),
if (message.edited) ...[
@@ -829,7 +829,7 @@ class _MessageBubble extends ConsumerWidget {
Text(
'(edited)',
style: context.textTheme.labelSmall?.copyWith(
color: context.colors.outline,
color: context.colors.onSurfaceVariant,
fontStyle: FontStyle.italic,
),
),
@@ -471,12 +471,12 @@ class _SectionHeader extends StatelessWidget {
),
child: Row(
children: [
Icon(icon, size: 14, color: context.colors.outline),
Icon(icon, size: 14, color: context.colors.onSurfaceVariant),
const SizedBox(width: Grid.half),
Text(
label.toUpperCase(),
style: context.textTheme.labelSmall?.copyWith(
color: context.colors.outline,
color: context.colors.onSurfaceVariant,
fontWeight: FontWeight.w600,
letterSpacing: 0.8,
),
@@ -485,7 +485,7 @@ class _SectionHeader extends StatelessWidget {
Icon(
expanded ? LucideIcons.chevronDown : LucideIcons.chevronRight,
size: 14,
color: context.colors.outline,
color: context.colors.onSurfaceVariant,
),
],
),
@@ -531,7 +531,7 @@ class _ChannelTile extends ConsumerWidget {
size: 18,
color: hasActivity
? context.colors.onSurface
: context.colors.outline,
: context.colors.onSurfaceVariant,
),
const SizedBox(width: Grid.xxs),
Expanded(