diff options
| author | Jan Trencansky <jan.trencansky@protonmail.com> | 2026-11-22 19:51:39 -0500 |
|---|---|---|
| committer | Jan Trencansky <jan.trencansky@protonmail.com> | 2026-11-29 11:42:27 -0500 |
| commit | 60ff0a2346f243b42dc01e12fd6f45a88ebe8fa4 (patch) | |
| tree | f6c3f168b2552cc0cd2fb4ab90e87ea1ca478324 /runtime/xma_decoder/tests/ffi_cpp_smoke.cpp | |
| parent | 0bc6e21a10a87fc34542e4c6a18720fa13cbd21b (diff) | |
launcher: a design system in the logo's colours, on stock iced 0.14
A new Cargo package in launcher/ for a desktop launcher. src/ui/ is its
UI kit: the design language's tokens (colors, type, spacing, radii,
motion, glow), the theme, text roles, fonts and focus model, and the
widgets the window shows, each with its states, focus and keys: button
(with a large variant), text field and its editing rules, checkbox,
choice, switch, toggle group (draggable), loader, progress, status chip,
scroll area, sidebar list, settings groups, form, the window's own
decorations, the folded window, and the window's state with a theme
crossfade and a LEONIDA_WINDOW_FRAME switch.
Two palettes, Sunset dark and light, come from the logo's pixels. Its
light orange and dark purple are the two colours: orange the main and
purple the secondary in light, the other way round in dark; every glow
takes the secondary. Tests check every ink on every surface at 4.5:1.
The window's rounded corners use iced_wgpu's public primitive API, with
rounded quads where the renderer can't draw it. On Windows, where stock
iced can't present a transparent window, the frame asks for Windows 11's
rounded corners and draws its line at their radius.
The four fonts the text roles use are embedded with their SIL Open Font
License texts.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/xma_decoder/tests/ffi_cpp_smoke.cpp')
0 files changed, 0 insertions, 0 deletions