mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-10-05 05:31:31 +02:00
Picking a color preset from the catalog only copied color_name and rgba onto the spool — extra_colors (gradient stops) and effect_type (sparkle / wood / etc.) were silently dropped at three layers above the API: the SpoolFormModal state shape, the CatalogDisplayColor mapping in ColorSection, and the selectColor handler itself. All three widened to carry both fields through. Picking a catalog swatch now writes both fields from the entry, so solid presets cleanly replace previous gradients. Recent-colors and the hardcoded-fallback palette stay as plain hex pickers — they don't touch extras/effect since they aren't full presets. Also fixed the en-US `colour` → `color` drift in 8 locale files that the reporter flagged.