mirror of
https://github.com/penpot/penpot.git
synced 2025-05-25 02:56:11 +02:00
🎉 Add pin fill icon
This commit is contained in:
parent
d57f4cebff
commit
a14d8e2b41
4 changed files with 10 additions and 2 deletions
|
@ -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
Add a link
Reference in a new issue