From 6ee1409c9abc4f33d6890ba4d4f5fd272aa7c2d4 Mon Sep 17 00:00:00 2001 From: astar76 Date: Wed, 11 Nov 2026 20:11:33 -0600 Subject: [PATCH] S016: chrome and menus redesign: pill tabs on springs, address pill, toolbar badges, page card, floating flyouts Tabs slide to their slots with a sliding selection pill and drag under the pointer; the address field is a pill with a site chip, host emphasis and a star that fills; flyouts and menus share one floating surface that springs open and fades closed. Web page corners are masked over the GL blit. tests/smoke/chrome.txt shoots the chrome and every flyout dark and light. Co-Authored-By: Claude Opus 5.5 --- CLAUDE.md | 2 +- Plans/04 UI redesign/S016-ui-chrome.md | 18 +- Plans/INDEX.md | 2 +- .../fonts/MaterialSymbolsOutlined-Nacre.ttf | Bin 57088 -> 60468 bytes docs/DESIGN.md | 20 + docs/PROGRESS.md | 16 + src/selftest.rs | 20 +- src/theme.rs | 7 + src/ui/chrome.rs | 970 +++++++++---- src/ui/icons.rs | 16 + src/ui/menus.rs | 1272 +++++++++++------ src/ui/mod.rs | 29 +- src/ui/widgets.rs | 18 +- tests/smoke/chrome.txt | 100 ++ tools/icons.txt | 8 + 15 files changed, 1767 insertions(+), 731 deletions(-) create mode 100644 tests/smoke/chrome.txt diff --git a/CLAUDE.md b/CLAUDE.md index a07689b..7221932 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -65,7 +65,7 @@ Never modify: `~/Documents/Apps/Nacre` (the original Python Nacre, reference onl | `nice cargo build --release -j 2` | compile check, produces `target/release/nacre` | now | | `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