refactor: Replace hardcoded monospace font with AppTypography constant

- Updated multiple instances of the 'monospace' font family to use AppTypography.monospaceFontFamily for consistency across the application.
- This change enhances maintainability and ensures a unified typography approach throughout the app.
This commit is contained in:
cogwheel0
2025-10-21 00:09:12 +05:30
parent a0a0d43116
commit d00cbe36cf
6 changed files with 10 additions and 10 deletions

View File

@@ -288,7 +288,7 @@ class _AuthenticationPageState extends ConsumerState<AuthenticationPage> {
hostText,
style: context.conduitTheme.bodySmall?.copyWith(
color: context.conduitTheme.textSecondary,
fontFamily: 'monospace',
fontFamily: AppTypography.monospaceFontFamily,
),
),
],

View File

@@ -151,7 +151,7 @@ class _ConnectionIssuePageState extends ConsumerState<ConnectionIssuePage> {
textAlign: TextAlign.center,
style: context.conduitTheme.bodyMedium?.copyWith(
color: context.conduitTheme.textPrimary,
fontFamily: 'monospace',
fontFamily: AppTypography.monospaceFontFamily,
),
),
const SizedBox(height: Spacing.xs),

View File

@@ -721,7 +721,7 @@ class _ServerConnectionPageState extends ConsumerState<ServerConnectionPage> {
entry.value,
style: context.conduitTheme.bodySmall?.copyWith(
color: context.conduitTheme.textSecondary,
fontFamily: 'monospace',
fontFamily: AppTypography.monospaceFontFamily,
),
overflow: TextOverflow.ellipsis,
),