todo-app/lib
Krzysztof kuhy Rudnicki 032376a4d7 theme.dart: define secondary/tertiary ColorScheme roles
Found via on-device testing after the earlier warm-palette commit: the
View/Guided/Raw SegmentedButton's selected segment rendered in Flutter's
stock Material teal, not the warm palette. Neither ColorScheme.light()
nor .dark() defined secondary/tertiary (or their container/on- variants),
so any M3 widget reaching for secondaryContainer (SegmentedButton, Chips,
etc.) silently fell back to the framework default instead of erroring --
a gap invisible in static review or widget tests, only visible rendered.

The shared palette has one accent, not a separate secondary hue, so these
mirror primary; secondaryContainer/tertiaryContainer use the line-light/
line-dark border color as a distinguishable-but-subtle selected-state fill.

Verified: flutter analyze clean, 188/188 tests at 100% coverage, re-
verified identical in an isolated worktree, and confirmed live on the
physical phone (adb install -r + screenshot) -- the Raw tab now renders
gold/amber instead of teal.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-22 19:42:57 +02:00
..
data Restore notes at their own edit time, not "now" 2026-07-20 14:24:13 +02:00
desktop Add the desktop wrapper, and stop the test suite eating BACKLOG.md 2026-07-20 13:33:25 +02:00
sync Add the desktop wrapper, and stop the test suite eating BACKLOG.md 2026-07-20 13:33:25 +02:00
ui theme.dart: define secondary/tertiary ColorScheme roles 2026-07-22 19:42:57 +02:00
frame_stats_io.dart Make the app compile and run for web, behind platform seams 2026-07-20 13:14:03 +02:00
frame_stats_web.dart Fix the web instrument's arming flag, and let the wrapper redirect its paths 2026-07-20 13:47:38 +02:00
frame_stats.dart Make the app compile and run for web, behind platform seams 2026-07-20 13:14:03 +02:00
main.dart warm-tint the unified-design-system palette, fix design audit violations 2026-07-22 18:56:45 +02:00