Add light theme support via prefers-color-scheme media query

t-637·WorkTask·
·
·
·Omni/Web/Style.hs
Parent:t-642·Created1 month ago·Updated1 week ago·pipeline runs →

Description

Edit

The task web UI is dark-first with no light mode support. Users with system light theme preference see the dark theme regardless.

Add @media (prefers-color-scheme: light) CSS rules that override the dark color tokens with light equivalents.

Implementation:

  • In Omni/Web/Style.hs, the color palette is defined as constants (cBg, cFg, cBgRaised, etc.)
  • Add a prefers-color-scheme: light media query block that overrides CSS custom properties
  • Approach: convert the hardcoded Haskell color constants to CSS custom properties (var(--bg), var(--fg), etc.), set dark values as default, override in the light media query
  • If converting to CSS custom properties is too invasive, alternatively add a @media (prefers-color-scheme: light) block at the end of the CSS that targets the same selectors with light colors

Light palette suggestion (inverse of current ef-dream dark theme):

  • Background: #faf8f6 (warm cream)
  • Foreground: #232025 (current dark bg)
  • Raised bg: #ffffff
  • Border: #d4d0cc
  • Muted: #6b6568
  • Accent: keep current accent colors but slightly darker for contrast

Key files: Omni/Web/Style.hs, Omni/Task/Web/Style.hs Namespace: Omni/Task.hs

Git Commits

c8451f89Add light theme support via prefers-color-scheme media query
Coder Agent9 weeks ago3 files

Timeline (50)

🔄[system]Open → InProgress1 month ago
💬[system]1 month ago

Pipeline: dev failed (run=dev-t-637-1771440519): Agent completed but made no commit

🔄[system]InProgress → Open1 month ago
🔄[system]Open → InProgress1 month ago
💬[system]1 month ago

Pipeline: dev completed (run=dev-t-637-1771441707, cost=0.0c)

🔄[system]InProgress → Verified1 month ago
💬[system]1 month ago

Pipeline: verification skipped (No namespace set, skipping build verification), promoting

🔄[system]Verified → Done1 month ago
💬[system]1 month ago

Pipeline: integrated into live at c8451f89d9982e4b00ccf8f94bb6aad7a104dc8e

💬[human]1 month ago

This is almost done. When rendering markdown files, in the /files app, the background is still dark even in light mode. Please fix that.

🔄[human]Done → Open1 month ago
🔄[system]Open → InProgress1 month ago
🔄[human]InProgress → Open1 month ago
💬[system]1 month ago

Pipeline: dev failed (run=dev-t-637-1771451566): Agent completed but made no commit

🔄[system]Open → InProgress1 month ago
💬[system]1 month ago

Pipeline: dev failed (run=dev-t-637-1771451672): Agent completed but made no commit

🔄[system]InProgress → Open1 month ago
🔄[system]Open → InProgress1 month ago
💬[system]1 month ago

Pipeline: dev failed (run=dev-t-637-1771451854): Agent completed but made no commit

🔄[system]InProgress → Open1 month ago
🔄[system]Open → InProgress1 month ago
💬[system]1 month ago

Pipeline: dev failed (run=dev-t-637-1771452171): Agent completed but made no commit

🔄[system]InProgress → Open1 month ago
🔄[system]Open → NeedsHelp1 month ago
💬[system]1 month ago

Pipeline: exceeded 5 retries on patchset 0

🔄[human]NeedsHelp → Open1 month ago
🔄[system]Open → InProgress1 month ago
💬[system]1 month ago

Pipeline: dev failed (run=dev-t-637-1771488499): Agent exited with code 1: The model gpt-5.3-codex does not exist or you do not have access to it.

🔄[system]InProgress → Open1 month ago
🔄[system]Open → InProgress1 month ago
💬[human]1 month ago

Pipeline scheduler: started run=pipeline-omni-web-style-hs-t-637-1771562283 domain=Omni/Web/Style.hs

🔄[human]InProgress → Review1 month ago
💬[human]1 month ago

Pipeline scheduler: run=pipeline-omni-web-style-hs-t-637-1771562283 domain=Omni/Web/Style.hs status=done cost=26c (fund-spend=failed)

💬[human]1 week ago

Ava triage: pipeline auto-run reached status=done but the agent made NO git commits and reported blockers (missing files, path mismatches, or need clarification). This task is not actually in review — there's nothing to review. Resetting status to Open so it can be re-scoped.

🔄[human]Review → Open1 week ago
🔄[human]Open → Verified1 week ago