Skip to content

fix(rcp): improve readability for dark theme and presbyopia#26

Merged
vgpastor merged 1 commit intomainfrom
fix/rcp-readability-presbyopia
Mar 28, 2026
Merged

fix(rcp): improve readability for dark theme and presbyopia#26
vgpastor merged 1 commit intomainfrom
fix/rcp-readability-presbyopia

Conversation

@vgpastor
Copy link
Copy Markdown
Contributor

Summary

  • Force dark text colors (Colors.black87) on medication cards to fix unreadable names in dark theme (cards always have light backgrounds)
  • Increase medication card text sizes: drug name bodyLargetitleMedium, dose bodySmallbodyMedium, counter labelSmallbodySmall, button bodySmallbodyMedium
  • Enlarge quick action buttons (Vía aérea, Pulso, DEA, Evento): icons 22→32px, padding 10→14, labels labelSmallbodyMedium, check badge 16→20px
  • Increase action log text: timestamps labelSmallbodyMedium, action text bodySmallbodyLarge, dot 8→10px, row spacing 2→4px
  • Reduce pause button size (100→80px) to reclaim vertical space

Based on feedback from emergency healthcare professional with presbyopia.

Test plan

  • dart format --set-exit-if-changed . — 0 changes
  • flutter analyze — 0 issues
  • flutter test — 187 tests passing
  • Visual verification on device with dark theme enabled
  • Verify medication names readable on red/yellow/green card backgrounds

🤖 Generated with Claude Code

Increase text sizes and contrast across the RCP tool based on user
feedback from emergency professionals with presbyopia. Force dark text
on medication cards (light backgrounds), enlarge action buttons and
log text, reduce pause button to reclaim space.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@vgpastor vgpastor merged commit d7b6b45 into main Mar 28, 2026
1 check passed
@vgpastor vgpastor deleted the fix/rcp-readability-presbyopia branch March 28, 2026 19:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant