🎉 Add pin fill icon

This commit is contained in:
elhombretecla 2021-04-23 14:59:17 +02:00 committed by Andrés Moya
parent d57f4cebff
commit a14d8e2b41
4 changed files with 10 additions and 2 deletions

View file

@ -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")]]))

View 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}]

View file

@ -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))