Skip to content

pantoken-root / rust

rust ​

Compatibility ​

Target: Rust GUI frameworks. Current format: Generated egui Color32 accessors and iced_core Color constants compile with the Rust toolchain. Minimum host version: 1.95.0. Tested through 1.95.0. Newer releases require review.

Full compatibility matrix

Experimental

@pantoken/rust — emit Instructure design tokens as Rust constants for the two mainstream native Rust GUIs: egui (Color32) and iced (Color). Colours become the framework's colour type; dimensions become f32 (px). Web-rendered Rust UIs (Tauri, Dioxus-web, Leptos, Yew) should use @pantoken/css instead.

Interfaces ​

Type Aliases ​

Functions ​

References ​

default ​

Renames and re-exports generateRust