Skip to content

Feat/theming theme dark high contrast - #143

Merged
afeezorobsco-cyber merged 5 commits into
DocForum:mainfrom
rikkhope-cyber:feat/theming-theme-dark-high-contrast
Oct 18, 2026
Merged

afeezorobsco-cyber merged 5 commits into
DocForum:mainfrom
rikkhope-cyber:feat/theming-theme-dark-high-contrast

Conversation

@rikkhope-cyber

@rikkhope-cyber rikkhope-cyber commented Oct 18, 2026 •

Copy link
Copy Markdown
Contributor

Closes #98

What changed

  • Added pre-hydration script in index.html to prevent white flash before page render.
  • Defined CSS design tokens in src/styles/global.css for light, dark, and high-contrast modes with system media query fallbacks (prefers-color-scheme & prefers-contrast) and data-theme attribute overrides.
  • Audited CSS modules and SVGs to ensure reliance on CSS variables.
  • Verified WCAG AA/AAA contrast ratios across all theme token pairs.

Which ROADMAP.md item does this close/progress?

Closes Phase W7 — Platform quality: reliability, accessibility, performance, testing (tracked as issue #98).

Docs updated in this PR (check all that apply)

  • ROADMAP.md
  • ARCHITECTURE.md
  • ARCHITECTURE_ESSENTIALS.md
  • PRD.md
  • N/A for this change

Added a script to manage theme preferences based on user settings.
Refactor global CSS to support light and dark themes.
Added Phase W7 for platform quality improvements including theming and accessibility features. Updated changelog and scoped new GitHub issues for upcoming phases.
Updated section headers and clarified API assumptions for patient core flow, dependents, health profile, and acting-for profile switcher.
@drips-wave

drips-wave Bot commented Oct 18, 2026

Copy link
Copy Markdown

@rikkhope-cyber Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@rikkhope-cyber

Copy link
Copy Markdown
Contributor Author

Please maintainer review this issue for approval thank

@afeezorobsco-cyber
afeezorobsco-cyber merged commit c18c7e5 into DocForum:main Oct 18, 2026
1 check passed
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.

[Platform] Theming: dark mode and high-contrast mode from design tokens

2 participants