feat(chat): Improve text color and segment spacing in UI components

This commit is contained in:
cogwheel0
2025-12-07 23:47:40 +05:30
parent 03c2b030e1
commit dcca839e35
3 changed files with 21 additions and 11 deletions

View File

@@ -137,7 +137,7 @@ class _MinimalStatusRow extends StatelessWidget {
? Icons.keyboard_arrow_up_rounded
: Icons.keyboard_arrow_down_rounded,
size: 14,
color: theme.textSecondary,
color: theme.textPrimary.withValues(alpha: 0.8),
),
const SizedBox(width: 2),
],
@@ -166,9 +166,10 @@ class _MinimalStatusRow extends StatelessWidget {
bool isPending,
) {
final theme = context.conduitTheme;
final baseColor = theme.textPrimary.withValues(alpha: 0.8);
final baseStyle = TextStyle(
fontSize: AppTypography.bodySmall,
color: theme.textSecondary,
color: baseColor,
height: 1.3,
);
@@ -184,7 +185,7 @@ class _MinimalStatusRow extends StatelessWidget {
return Text(
description,
style: baseStyle.copyWith(
color: theme.textSecondary.withValues(alpha: opacity),
color: baseColor.withValues(alpha: opacity),
),
maxLines: 1,
);
@@ -288,9 +289,10 @@ class _MinimalHistoryTimeline extends StatelessWidget {
bool isPending,
) {
final theme = context.conduitTheme;
final baseColor = theme.textPrimary.withValues(alpha: 0.8);
final baseStyle = TextStyle(
fontSize: AppTypography.bodySmall,
color: theme.textSecondary,
color: baseColor,
height: 1.3,
);
@@ -305,7 +307,7 @@ class _MinimalHistoryTimeline extends StatelessWidget {
return Text(
description,
style: baseStyle.copyWith(
color: theme.textSecondary.withValues(alpha: opacity),
color: baseColor.withValues(alpha: opacity),
),
);
},