Files
sim/apps
Waleed 8be58682ca fix(custom-blocks): give a custom block's logo a tile its header chip can paint (#6929)
A custom block with an uploaded logo declared bgColor 'transparent', which
meant "the image is the whole tile" — true on tile surfaces, where the image
fills the box, but wrong for the canvas node header. The header chip sets its
label beside the icon rather than under it, so an unpainted chip left the label
nothing to contrast: perceivedBrightness('transparent') is null, the foreground
fell back to white, and the block name rendered white on the white card. The
header showed a bare logo where every other block shows a chip.

Custom blocks with an image now wear the same white plate as every other
light-tiled provider, so they read as an ordinary integration everywhere.
Icon and tile resolve together from one precedence rule, so a block can never
paint a tile its icon disagrees with.
2026-08-21 08:20:03 -07:00
..