teksilo-widgets-previewer 0.13.0

Storybook-style previewer for the stock Teksilo widget catalog.
teksilo-widgets-previewer-0.13.0 is not a library.

Teksilo's own widget previewer binary.

Run:

cargo run -p teksilo-widgets-previewer
cargo run -p teksilo-widgets-previewer -- --widget=button --variant=disabled
cargo run -p teksilo-widgets-previewer -- --file=crates/teksilo-widgets/src/button.rs
cargo run -p teksilo-widgets-previewer -- --density=touch
cargo run -p teksilo-widgets-previewer -- --list
cargo run -p teksilo-widgets-previewer -- --export-docs

--density=compact|comfortable|touch starts the previewer on that input density, which is the whole catalog rendered at that ladder; the toolbar switches it live.

--export-docs is the headless batch that fills docs/widgets/img/ with the pictures the generated mdBook catalog pages reference. It needs a wgpu adapter but no display server. It takes the same --density= flag, and accepts a comma-separated list — one pass per density, Compact writing img/<slug>.png and every other density writing img/<slug>-<density>.png beside it.

The binary intentionally has no logic beyond delegation — everything happens inside teksilo_preview_ui::run_previewer. Downstream applications create their own analogous thin binary that links their own widget set with the preview feature.