Expand description
Portable RGBA color primitive.
Pre-Slice-52, this type lived inside
shell::desktop::runtime::registries::theme with a feature-flag
switch that aliased to egui::Color32 under egui-host. That made
every portable consumer (knowledge registry, lens registry,
presentation, edge styles) reach into the shell-side runtime tree
to import a primitive — backwards layering. Slice 52 promotes the
portable form to kernel::color::Color32. The egui-host
re-export at theme.rs continues to alias to egui::Color32 (the
egui-host build is frozen per the iced jump-ship plan §S1, so its
integration with egui::Color32 is unchanged).
Structs§
- Color32
- Portable 32-bit RGBA color (
[r, g, b, a]bytes, alpha in0..=255). Constructors mirror the API ofegui::Color32so the migration from the egui-flavoured original is mechanical.