mirror of
https://github.com/storytold/texturecraft.git
synced 2026-11-19 14:00:43 +01:00
- fonts: IBM Plex Sans (one variable file at 400, 500 and 600) and IBM Plex Mono for the interface when built with craft-fonts (its Latin catalog, opted into from build.rs); the ui-medium and ui-semibold families always exist and fall back to the regular font; CJK fallbacks cover them too and align to the interface font's baseline - type scale 11 / 12.5 / 14 (headings semibold), values in the monospace face; spacing on a 2-4-6-8-12 scale (rows 4 apart, button padding 8x3, window margins 12); windows share the card radius - panel tabs, section captions and window titles in the medium weight, as written instead of small capitals - layer rows: the opacity field fits its slot (compact padding, small print) - Settings: every section an aligned two-column form, like Export and New project - tests/ui_snapshots.rs: renders the whole window offscreen (egui_kittest + wgpu) to PNGs for checking layout without a visible screen; AGENTS.md says how - ATTRIBUTION, NOTICE and packaging list the Plex faces and ship their licences