mirror of
https://github.com/block/buzz.git
synced 2026-08-18 06:50:31 +02:00
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:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user