mirror of
https://github.com/penpot/penpot.git
synced 2026-10-29 05:50:35 +00:00
✨ Use the design's orphan icon in the broken copy pill
Add the orphan icon (a broken chain link) to the DS icon set and show it in the component pill of copies whose main is missing, instead of broken-link, which the token pills and shortcuts keep using. Relates to #12134 AI-assisted-by: claude-opus-5-5
This commit is contained in:
parent
0481826b3d
commit
32d47c3b14
3
frontend/resources/images/icons/orphan.svg
Normal file
3
frontend/resources/images/icons/orphan.svg
Normal file
@ -0,0 +1,3 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" viewBox="0 0 16 16" stroke-linecap="round" stroke-linejoin="round">
|
||||
<path d="M10.33,10.507L11.543,10.51L11.536,10.503C12.915,10.479,14.015,9.341,13.992,7.961C13.968,6.614,12.882,5.528,11.535,5.504L10.323,5.5M5.673,5.497L4.464,5.497C3.084,5.521,1.985,6.659,2.007,8.039C2.032,9.386,3.118,10.472,4.464,10.496L5.673,10.496M10.121,3.05L9.061,4.111M5.879,3.05L6.939,4.111M6.939,11.889L5.879,12.95M9.061,11.889L10.121,12.95"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 505 B |
@ -212,6 +212,7 @@
|
||||
(def ^:icon-id msg-warning "msg-warning")
|
||||
(def ^:icon-id number "number")
|
||||
(def ^:icon-id open-link "open-link")
|
||||
(def ^:icon-id orphan "orphan")
|
||||
(def ^:icon-id padding-bottom "padding-bottom")
|
||||
(def ^:icon-id padding-extended "padding-extended")
|
||||
(def ^:icon-id padding-left "padding-left")
|
||||
|
||||
@ -907,7 +907,7 @@
|
||||
(when ^boolean is-broken
|
||||
[:> tooltip* {:content (tr "workspace.options.component.broken")
|
||||
:class (stl/css :pill-btn-broken)}
|
||||
[:> icon* {:icon-id i/broken-link
|
||||
[:> icon* {:icon-id i/orphan
|
||||
:size "m"}]])]
|
||||
|
||||
(when menu-entries?
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user