mirror of
https://github.com/penpot/penpot.git
synced 2025-01-24 15:39:50 -05:00
🎉 Add pin fill icon
This commit is contained in:
parent
d57f4cebff
commit
a14d8e2b41
4 changed files with 10 additions and 2 deletions
3
frontend/resources/images/icons/pin-fill.svg
Normal file
3
frontend/resources/images/icons/pin-fill.svg
Normal file
|
@ -0,0 +1,3 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" width="500" height="499.172">
|
||||
<path d="M325.318.012c-21.828-.283-42.138 15.34-48.74 35.799-15.498 31.788-36.62 62.655-67.738 80.85-46.02 26.247-99.73 35.59-152.188 35.65-11.824-.026-24.336 1.563-34 9.064-18.02 12.488-27.52 36.96-20.132 58.033 4.15 13.85 14.838 24.125 25.197 33.582l86.5 86.5C84.489 381.136 30.993 456.543 1.26 498.187c41.623-29.726 117.01-83.216 158.633-112.943 37.542 36.62 68.372 70.026 106.955 105.56 23.195 15.988 59.377 8.336 73.035-16.722 7.6-12.733 8.225-27.804 7.5-42.23 1.366-50.12 11.25-101.404 37.676-144.67 20.658-31.714 53.59-52.979 87.634-68.024 20.972-10.427 31.76-36.412 25.57-58.77-2.663-11.117-9.64-20.31-17.898-27.872-37.25-36.595-73.199-74.495-110.699-110.84-7.227-6.593-13.718-14.768-23.268-17.905-6.682-2.644-13.898-3.907-21.08-3.757V.012z"/>
|
||||
</svg>
|
After Width: | Height: | Size: 831 B |
|
@ -71,7 +71,9 @@
|
|||
[:div.icon.pin-icon
|
||||
{:class (when (:is-pinned project) "active")
|
||||
:on-click toggle-pin}
|
||||
i/pin]]))
|
||||
(if (:is-pinned project)
|
||||
i/pin-fill
|
||||
i/pin)]]))
|
||||
[:a.btn-secondary.btn-small {:on-click on-create-clicked}
|
||||
(tr "dashboard.new-file")]]))
|
||||
|
||||
|
|
|
@ -120,7 +120,9 @@
|
|||
[:span.pin-icon
|
||||
{:class (when (:is-pinned project) "active")
|
||||
:on-click toggle-pin}
|
||||
i/pin])
|
||||
(if (:is-pinned project)
|
||||
i/pin-fill
|
||||
i/pin)])
|
||||
(if (:edition? @local)
|
||||
[:& inline-edition {:content (:name project)
|
||||
:on-end on-edit}]
|
||||
|
|
|
@ -97,6 +97,7 @@
|
|||
(def picker-hsv (icon-xref :picker-hsv))
|
||||
(def picker-ramp (icon-xref :picker-ramp))
|
||||
(def pin (icon-xref :pin))
|
||||
(def pin-fill (icon-xref :pin-fill))
|
||||
(def play (icon-xref :play))
|
||||
(def plus (icon-xref :plus))
|
||||
(def pointer-inner (icon-xref :pointer-inner))
|
||||
|
|
Loading…
Add table
Reference in a new issue