S015: Material You foundation: M3 schemes, Outfit, icons, springs, widgets, gallery
Fixes R1-01 (icon glyphs) and R1-02 (clock contrast). Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
parent
d6cdaa3411
commit
07b357deaf
1 changed files with 2292 additions and 308 deletions
|
|
@ -54,6 +54,20 @@ One entry per session, newest last, ≤ 15 lines: done, verified how, not done,
|
|||
- Not done: real-GPU check (S010). PiP loses page state (in DESIGN engine limits). Split view now impossible.
|
||||
- Later: status field `painters` counts web views, not painters; rename. malloc_trim after discard.
|
||||
|
||||
## S015 — Material You foundation (2026-11-11)
|
||||
- Done: `theme.rs` M3 schemes from `material-colors =0.4.2` (D-009) with all roles + old aliases; `theme::apply` stores
|
||||
tokens (palette, roundness, motion) in the egui context; shape/space/type tokens; springs (FAST/DEFAULT/SLOW/EFFECT,
|
||||
Motion setting scales or disables). Outfit variable font (5 weights) + Material Symbols subset (`tools/icons.py`,
|
||||
139 icons, 55 KB). `widgets.rs` restyled (buttons, icon buttons, switch, segmented, card, rows), `ui/paint.rs`
|
||||
(cookie, wavy line/progress, shadow), hidden `nacre://gallery` + `tests/smoke/gallery.txt`. DESIGN.md § UI system.
|
||||
- Fixed: R1-01 (every emoji/Unicode glyph in src/ui now an icon constant); R1-02 (strong text used on_primary =
|
||||
white in light theme; clock now Thin Outfit in primary).
|
||||
- Verified: 38 unit tests (reference colours #555992/#BEC2FF/#65558F/#CFBDFE, contrast ≥ 4.5 for 12 presets light and
|
||||
dark, widget click/Tab+Space/hover-settle); gallery.txt and launch.txt exit 0, shots checked by eye.
|
||||
- Not done: focus ring and pressed states not seen in screenshots (tests only); no real-GPU check; no CJK font.
|
||||
- Later: chrome toolbar glyphs still drawn at text size via egui Buttons (S016); `egui::Ui::id`/`Id::new`
|
||||
deprecation warnings across src/ui.
|
||||
|
||||
## Later
|
||||
- Reader mode, split view, translate, real gamepad rumble (D-002: not planned for now).
|
||||
- Packaging and first release (D-001: plan when the user asks).
|
||||
|
|
|
|||
Loading…
Reference in a new issue