Skip to content

Implement dynamic font scaling support in MedicationScreen.tsx #614

Description

@success-OG

Labels: frontend accessibility

Background
src/screens/MedicationScreen.tsx (29 KB) uses fixed font sizes that do not respect the device's accessibility font size setting. Users who rely on large text cannot read medication instructions or dosage information.

What "Done" Looks Like

  • Replace all fixed fontSize values with values from the theme that scale with PixelRatio.getFontScale()
  • Cap maximum scaling at 1.5× to prevent layout breakage (document this decision)
  • Test at system font size settings: Default, Large, Accessibility Extra Large
  • Ensure all text remains readable and no layout overflow at maximum supported scale

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions