From 7b7e0cec7f7a57bf3d0c66b1bf3a59b71fac362a Mon Sep 17 00:00:00 2001 From: astar76 Date: Wed, 11 Nov 2026 19:36:53 -0600 Subject: [PATCH] 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 --- CLAUDE.md | 4 +- Cargo.lock | 12 + Cargo.toml | 2 + .../S015-material-foundation.md | 18 +- Plans/INDEX.md | 2 +- assets/fonts/LICENSE-MaterialSymbols.txt | 202 ++++++ .../fonts/MaterialSymbolsOutlined-Nacre.ttf | Bin 0 -> 57088 bytes assets/fonts/OFL-Outfit.txt | 93 +++ assets/fonts/Outfit[wght].ttf | Bin 0 -> 110884 bytes docs/DECISIONS.md | 1 + docs/DESIGN.md | 80 +++ docs/PROGRESS.md | 14 + src/app.rs | 5 +- src/tabs.rs | 5 + src/theme.rs | 619 ++++++++++++++---- src/ui/chrome.rs | 67 +- src/ui/dialogs.rs | 15 +- src/ui/icons.rs | 285 ++++++++ src/ui/menus.rs | 31 +- src/ui/mod.rs | 31 +- src/ui/pages/apps.rs | 3 +- src/ui/pages/bookmarks.rs | 9 +- src/ui/pages/downloads.rs | 3 +- src/ui/pages/gallery.rs | 233 +++++++ src/ui/pages/history.rs | 3 +- src/ui/pages/misc.rs | 5 +- src/ui/pages/mod.rs | 2 + src/ui/pages/newtab.rs | 29 +- src/ui/pages/settings.rs | 31 +- src/ui/paint.rs | 115 ++++ src/ui/widgets.rs | 456 +++++++++++-- src/window.rs | 1 + tests/smoke/gallery.txt | 23 + tools/icons.py | 49 ++ tools/icons.txt | 148 +++++ 35 files changed, 2290 insertions(+), 306 deletions(-) create mode 100644 assets/fonts/LICENSE-MaterialSymbols.txt create mode 100644 assets/fonts/MaterialSymbolsOutlined-Nacre.ttf create mode 100644 assets/fonts/OFL-Outfit.txt create mode 100644 assets/fonts/Outfit[wght].ttf create mode 100644 src/ui/icons.rs create mode 100644 src/ui/pages/gallery.rs create mode 100644 src/ui/paint.rs create mode 100644 tests/smoke/gallery.txt create mode 100644 tools/icons.py create mode 100644 tools/icons.txt diff --git a/CLAUDE.md b/CLAUDE.md index 23213bc..a07689b 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -63,9 +63,11 @@ Never modify: `~/Documents/Apps/Nacre` (the original Python Nacre, reference onl | Tool | Role | Available after | |---|---|---| | `nice cargo build --release -j 2` | compile check, produces `target/release/nacre` | now | -| `nice cargo test --release -j 2` | unit tests (29, ~16 s test-profile build then <1 s run; shares the S001 build) (util, settings, history, bookmarks, permissions, vault, dns, bridge loopback, download, adblock, keys, scripts, updates, inject, hub, theme) | first successful build; not alongside a build | +| `nice cargo test --release -j 2` | unit tests (38, ~16 s test-profile build then <1 s run; shares the S001 build) (util, settings, history, bookmarks, permissions, vault, dns, bridge loopback, download, adblock, keys, scripts, updates, inject, hub, theme, ui::widgets input, ui::paint) | first successful build; not alongside a build | | `src/selftest.rs` | in-app self test: `NACRE_SCRIPT=` runs script commands (listed at its top) | now | | `tools/smoke.sh