A standalone Rust library for egui 0.35, extracted from CalibRaw. It provides six theme presets (Obsidian Blue, Obsidian Red, Porcelain, Daylight, and Plain Grey in dark and light), custom palette support, spacing and sizing metrics, cards, toolbar rows, buttons, form controls, numeric fields, sliders, menus, dialogs, and responsive layout helpers.
cargo run --example galleryThe gallery shows every reusable control in each theme. Desktop and Android
metrics can be switched at runtime, and the "Enabled" toggle shows disabled
states; Tab moves keyboard focus. cargo test renders it headlessly in every
combination.
NumberField: a drag-value field with focus-aware arrow stepping and repeat, display precision, suffixes, explicit ids and commit-after-edit updates.Slider: a labelled slider with a value field, scroll-friendly dragging (slider_scroll_locked), double-click reset, keyboard stepping, gradients and AccessKit slider semantics.- Runtime metrics:
Theme::apply_with_metricsinstallsMetricsthat controls read throughMetrics::of;Theme::applykeeps the build platform's. - Breaking:
Metricshas a newtouch_layoutfield.
Licensed under GPL-3.0-or-later; see COPYING.