Commit 474cea5
committed
feat(ui): redesign chat, reports, settings, and biomarker screens
Applies the Stitch mockup design system across all remaining app screens,
replacing the default Material theme colors with the Koshika palette via
AppColors. Changes are visual-only; all logic, state, and navigation remain
untouched.
chat_screen (all 6 model lifecycle states):
- State views (not-downloaded, downloading, ready, loading, error) now use
circular icon containers with AppColors.primaryContainer tinted backgrounds
instead of bare icons, giving each state a distinct, branded look.
- Download progress bar uses AppColors.primary as the fill color.
- Search mode indicator bar switches between a tinted primary background
(semantic search active) and a neutral surface color (keyword fallback).
- Input field fill changed to AppColors.surfaceContainerLow; send button
explicitly styled with AppColors.primary when active.
- Suggestion chips in the empty chat state use AppColors.surfaceContainerLow
fill + AppColors.outlineVariant border for a softer appearance.
reports_screen:
- Empty state uses the same circular icon container pattern (primary tint).
- FAB explicitly styled AppColors.primary / white to override theme default.
- Swipe-to-delete background uses AppColors.error with a rounded decoration
instead of a flat Colors.red fill.
- Report list cards use white fill, AppColors.primary icons, and
AppColors.onSurface / onSurfaceVariant text for consistent typography.
settings_screen:
- Section header icon and label color updated to AppColors.primary.
- Model status badge colors replaced: loaded → AppColors.statusActive
(dark teal), ready → AppColors.statusReady (blue), downloading/loading →
AppColors.statusBusy (amber), error → AppColors.error. Applies to both
the Chat model tile and the Embedding model tile.
biomarker_detail_screen:
- Latest value displayed in AppColors.primary; unit label in onSurfaceVariant.
- History list row tint colors aligned to the palette: normal rows use
AppColors.statusActive at low alpha, borderline/low rows use
AppColors.statusBusy, high/critical rows use AppColors.error.1 parent 0eb9b5b commit 474cea5
4 files changed
Lines changed: 231 additions & 120 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
9 | 11 | | |
10 | 12 | | |
11 | 13 | | |
| |||
168 | 170 | | |
169 | 171 | | |
170 | 172 | | |
171 | | - | |
| 173 | + | |
172 | 174 | | |
173 | 175 | | |
174 | 176 | | |
175 | 177 | | |
176 | 178 | | |
177 | 179 | | |
178 | 180 | | |
179 | | - | |
| 181 | + | |
180 | 182 | | |
181 | 183 | | |
182 | 184 | | |
| |||
298 | 300 | | |
299 | 301 | | |
300 | 302 | | |
301 | | - | |
| 303 | + | |
302 | 304 | | |
303 | | - | |
| 305 | + | |
304 | 306 | | |
305 | | - | |
| 307 | + | |
306 | 308 | | |
307 | | - | |
| 309 | + | |
308 | 310 | | |
309 | | - | |
| 311 | + | |
310 | 312 | | |
311 | 313 | | |
312 | 314 | | |
| |||
0 commit comments