PeriodPals / periodpals

3 stars 1 forks source link

Adapt app to light and dark theme #182

Open francelu opened 2 days ago

francelu commented 2 days ago

Make app readable in light and dark mode

Goal
Ensure all existing components use consistent colour variables by applying the ColorScheme object, and align these colours with any existing Figma design specifications.

Steps

  1. Review Existing Components:

    • Audit all components currently using colour variables.
    • Identify inconsistencies in colour usage and note any variations or deprecated values.
  2. Apply ColorScheme Object:

    • Integrate the standardised ColorScheme object across components where applicable.
    • Replace outdated or hardcoded colour values with the appropriate variables from ColorScheme.
    • Ensure accessibility compliance for colour contrast ratios.
  3. Align with Figma Designs:

    • Cross-check updated components against Figma designs for visual consistency.
    • Make any necessary adjustments to ensure visual parity with the Figma references.
    • Communicate with the design team to address discrepancies or unclear specifications.

Done Criteria

francelu commented 17 hours ago

Before light and dark mode on compact large screen

Screen Light Theme Dark Theme
SignInScreen image image
SignUpScreen image image
CreateProfileScreen image image
ProfileScreen image image
EditProfileScreen image image
CreateAlertScreen image image
AlertListsScreen - My alerts empty image image
AlertListsScreen - My alerts no empty image image
AlertListsScreen - Pals' alerts empty image image
AlertListsScreen - Pals' alerts non empty image image
MapScreen image image
TimerScreen image image
francelu commented 16 hours ago

Discovered the Material Theme Builder website has components "previews".
image

After light and dark mode on compact large screen

Screen Light Dark
SignInScreen image image
SignUpScreen image image
CreateProfileScreen image image
ProfileScreen image image
EditProfileScreen image image
CreateAlertScreen image image
AlertListsScreen - My alerts (empty) image image
AlertListsScreen - My alerts (non-empty) image image
AlertListsScreen - Pals' alerts (empty) image image
AlertListsScreen - Pals' alerts (non-empty) image image
MapScreen image image
TimerScreen image image
francelu commented 4 hours ago

I don't how to change Map's colour, not a regular component.