Symptom

The Color Trigger chip showed a neutral grey swatch in the unconfigured state, which was visually indistinguishable from a hardcoded color literal but was actually the midpoint of the full 0–255 range per channel (Color(0xFF7F7F7F)). The editor preview had no way to distinguish “user hasn’t narrowed a range yet” from a configured range that happens to span the full spectrum.

Root cause

EditColorTrigger.kt had no concept of “configured vs unconfigured” for the editor preview Box — it always rendered Color(meta.midpointArgb().toInt()). The chip used an ad-hoc isColorSet expression inline without sharing it with the editor, so the two surfaces drifted: the chip gained a tokenised placeholder (fix #594) but the editor preview didn’t.

Fix

Prevention