S038: expressive restyle with shaped containers, ripples and rounded surfaces
Shape library (cookies, clover, scallop) with morphing Shape component, press ripple in StateLayer, content card shell, shaped file glyphs, card grid tiles, dialog header shapes, menu pills, wavy toast progress. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
parent
8f86e56867
commit
62a6754499
1 changed files with 535 additions and 87 deletions
|
|
@ -128,5 +128,14 @@ One entry per session, newest last, ≤ 15 lines: done, verified how, not done,
|
|||
- Not done: no live window (double-click open, portal call, a real launch); Alt+Enter shortcut; mixed file+folder selection with Open sends folders to the portal.
|
||||
- Later: properties editing (permissions, owner); open folders in new tabs; Alt+Enter; icons loaded lazily for long lists.
|
||||
|
||||
## S038 — Expressive restyle
|
||||
- Done: `ui/shapes.slint` `ShapeKind { circle, cookie4, cookie6, cookie9, cookie12, clover, scallop }` + `Shapes.path(from, to, t, turn)` / `Shapes.wave(length, wavelength, amplitude, thickness, phase)` (Rust `shapes.rs`, polar curves in a 100x100 viewbox, resting shapes cached; set in `theme_bridge::apply`). `components/shape.slint` **`Shape`** (`shape`, `active-shape`, `active` morphs + turns `Theme.shape-morph-turn`, `turn`, `fill`/`active-fill`, `glyph`, `glyph-color`, `size`, `glyph-ratio`, `@children` for badges) and `FileShapes.shape/active-shape/fill/ink(glyph)` (folder cookie9 primary, media tertiary, others secondary). Pill = Rectangle + `corner-full`.
|
||||
- `StateLayer` ripple (on by default, `ripple: false` to opt out): spreads from the left-press point over `MotionClock`, fades after release; flat tint stays at hover strength while pressed. `ListRow.shaped` (+ `shape`, `active-shape`, `shape-size`, `shape-fill`, `shape-ink`): selected morphs to the active shape on `primary`. `IconButton.tonal` (resting circle) and toggles morph circle → cookie9.
|
||||
- Tokens: `corner-card` 24, `corner-menu` 14, `corner-menu-item` 10, `shape-morph-turn`, `shape-enter-turn`, `wave-stroke/amplitude/length`, `dialog-shadow-*`, `card-shadow-*` (float shadow now the design refs' popup values); `Motion.rise-shift`, `Motion.wave-period`. Icons: settings + file categories.
|
||||
- Shell: window on `surface-container`, content (toolbar, panes, status) on a rounded `surface` card with a faint lift; sidebar rows shaped (resting shapes cycle, current = cookie9); tonal toolbar circles; current crumb a filled pill. Views: shaped glyphs per category in rows (32 px) and grid (56 px, tiles are `surface-container-low` cards); content rises `rise-shift` as it fades in. `Dialog.glyph` (cookie6 that turns in while opening, centred title; set on every dialog); menus 14 px with 36 px item pills; toasts 56 px, `corner-lg`, wavy progress (moves only while the job runs, still under reduced motion).
|
||||
- Verified: workspace build, clippy -D warnings, fmt --check, literal grep empty; looked at gallery light/dark, shell light (split, real places), music folder dark, grid dark, menu + toasts, dialog dark, settings dialog.
|
||||
- Not done: ripple/morph motion not watched (single frames); the software renderer draws stroked paths unevenly, so the wave is a filled band. Settings page list still plain rows.
|
||||
- Later: tune clover depth (reads like a plus); shaped rows in the settings nav.
|
||||
|
||||
## Later
|
||||
-
|
||||
|
|
|
|||
Loading…
Reference in a new issue