todo-app/lib/ui
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
..
capture_screen.dart Make the app compile and run for web, behind platform seams 2026-07-20 13:14:03 +02:00
markdown_view.dart warm-tint the unified-design-system palette, fix design audit violations 2026-07-22 18:56:45 +02:00
note_detail_screen.dart Switch to very_good_analysis, matching the rest of the Flutter ecosystem 2026-07-20 11:05:13 +02:00
note_editor.dart warm-tint the unified-design-system palette, fix design audit violations 2026-07-22 18:56:45 +02:00
notes_list_screen.dart Switch to very_good_analysis, matching the rest of the Flutter ecosystem 2026-07-20 11:05:13 +02:00
settings_screen.dart warm-tint the unified-design-system palette, fix design audit violations 2026-07-22 18:56:45 +02:00
theme.dart theme.dart: define secondary/tertiary ColorScheme roles 2026-07-22 19:42:57 +02:00