mirror of
https://github.com/kuhyx/diet-guard.git
synced 2026-11-11 14:07:40 +01:00
main.dart now builds MaterialApp's theme from buildAppTheme() instead of ColorScheme.fromSeed(Colors.teal) -- theme.dart existed but was never actually used until this commit. photo_viewer_screen.dart, settings_screen.dart, and day_status_calendar.dart's raw Colors.* literals (Colors.black, Colors.red, Colors.white38, Colors.grey.shade800, ...) now read from Theme.of(context) instead. Also rewrites CLAUDE.md's Visual Design & Theming section, which previously contradicted the unified-design-system skill (noise texture, multi-layered shadows, ColorScheme.fromSeed -- all things that skill explicitly forbids). This was the other prerequisite the on-fill/warm-palette fixes actually needed: theme.dart existing but unwired meant the app was still running Flutter's default seeded theme. |
||
|---|---|---|
| .. | ||
| attached_image_io.dart | ||
| attached_image_web.dart | ||
| attached_image.dart | ||
| autocomplete_suggestion_list.dart | ||
| day_status_calendar.dart | ||
| macro_input_row.dart | ||
| photo_attach_field.dart | ||
| slot_selector_row.dart | ||
| streak_summary_row.dart | ||