Context
The root document currently declares a fixed theme color even though SO4
supports light, dark, system, and future high-contrast preferences. Mobile
browser chrome and installed-app surfaces can therefore clash with the page.
Scope
- Define light and dark browser theme-color values from approved canvas tokens.
- Emit appropriate theme-color metadata for supported color schemes.
- Keep manifest background and theme colors aligned with the design system.
- Document limitations for runtime theme changes and installed PWA behavior.
Acceptance criteria
- Light and dark browser chrome use matching semantic canvas colors.
- System preference resolves correctly before hydration.
- Theme metadata does not introduce a flash or hydration mismatch.
- Manifest colors match the default launch appearance.
- Tests verify generated metadata and theme-resolution behavior.
Out of scope
- Rebuilding PWA icons or splash-screen artwork.
- Adding service-worker or offline caching functionality.
Context
The root document currently declares a fixed theme color even though SO4
supports light, dark, system, and future high-contrast preferences. Mobile
browser chrome and installed-app surfaces can therefore clash with the page.
Scope
Acceptance criteria
Out of scope