Enhance color logic for phantom elements to improve visual distinction based on collision status (#42710)
Libon
and
Danilo Leal
created
This change modifies the color assignment for phantom elements in the
editor. If a phantom element collides with existing elements, it now
uses a custom color based on the theme's debugger accent with reduced
opacity. Otherwise, it defaults to the hint color.
BEFORE:

AFTER:

Release Notes:
- Enhanced color logic for phantom elements to improve visual
distinction based on collision status.
---------
Co-authored-by: Danilo Leal <daniloleal09@gmail.com>