0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-04-03 10:31:38 -05:00

🐛 Show icon on broken color reference instead of swatch

This commit is contained in:
Eva Marco 2025-01-14 10:07:09 +01:00
parent 5ce4b0a927
commit dea866d3a3

View file

@ -44,14 +44,13 @@
:on-context-menu on-context-menu
:disabled errors?}
(cond
color
[:& color-bullet {:color color
:mini true}]
errors?
[:> icon*
{:icon-id "broken-link"
:class (stl/css :token-pill-icon)}]
color
[:& color-bullet {:color color
:mini true}]
:else
[:> token-status-icon*
{:icon-id token-status-id