feat(ui): shared colour selector used across all style editors (#94)

Add a reusable color_selector widget (ui/color_select.rs): a main-colour
dropdown plus a "more colours" button that expands the full 255-entry ACI
palette — the same design the properties panel uses. Replace the flat ACI
swatch rows added earlier in the dimension, multileader and table style
editors with it, wired through each editor's existing colour edit message
(the chosen colour is encoded as an ACI string) plus a per-field
palette-open toggle.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Hakan SevenandClaude Opus 4.8 committed 2026-06-14 10:42:39 +03:00
1 parent 3ccda2f129
commit 8cdb17a6b4
8 files changed
+280 -121

No files matched your search

+1
View File
@@ -4,6 +4,7 @@ pub const ROW_H: f32 = 26.0;
pub mod about;
pub mod app_menu;
pub mod color_select;
pub mod command_line;
pub mod cycle_popup;
pub mod dimstyle;