Skip to content

Add dark mode support to study mode#17

Merged
tpaulshippy merged 2 commits into
mainfrom
feat/study-dark-mode
May 25, 2026
Merged

Add dark mode support to study mode#17
tpaulshippy merged 2 commits into
mainfrom
feat/study-dark-mode

Conversation

@tpaulshippy
Copy link
Copy Markdown
Owner

Summary

  • Replace all hardcoded colors in study.tsx with theme-aware values using useThemeColor
  • Add studyCardBack and disabled color keys to Colors.ts for both light and dark palettes
  • Study mode now properly adapts to system dark/light mode setting

Changes

  • front/constants/Colors.ts: Added studyCardBack (#f0f8ff light / #1a2a3a dark) and disabled (#ccc light / #555 dark) color keys
  • front/app/flashcards/study.tsx: Replaced hardcoded hex colors (#fff, #f0f8ff, #333, #888, #f0f0f0, #ccc, #03465b) with useThemeColor hooks for card backgrounds, text, hints, nav buttons, and chevron icons

Replace hardcoded colors in study.tsx with theme-aware values using
useThemeColor. Add studyCardBack and disabled color keys to Colors.ts
for both light and dark palettes.
Use dedicated navButton/navButtonIcon colors with proper contrast
instead of reusing border/tint which were too dark on dark backgrounds.
@tpaulshippy tpaulshippy merged commit 252b589 into main May 25, 2026
3 checks passed
@tpaulshippy tpaulshippy deleted the feat/study-dark-mode branch May 25, 2026 21:33
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