mirror of
https://github.com/penpot/penpot.git
synced 2025-05-11 12:56:38 +02:00
🎉 Add new svg icons
This commit is contained in:
parent
4ac3573ab1
commit
81d9727d03
53 changed files with 128 additions and 81 deletions
|
@ -127,7 +127,7 @@
|
|||
{:alt (tr "workspace.sidebar.history" (sc/get-tooltip :toggle-history))
|
||||
:class (when (contains? layout :document-history) "selected")
|
||||
:on-click (st/emitf (dw/go-to-layout :document-history))}
|
||||
i/undo-history]
|
||||
i/recent]
|
||||
[:li.tooltip.tooltip-right
|
||||
{:alt (tr "workspace.toolbar.color-palette" (sc/get-tooltip :toggle-palette))
|
||||
:class (when (contains? layout :colorpalette) "selected")
|
||||
|
|
|
@ -286,7 +286,7 @@
|
|||
[:div.history-toolbox-title (t locale "workspace.undo.title")]
|
||||
(if (empty? entries)
|
||||
[:div.history-entry-empty
|
||||
[:div.history-entry-empty-icon i/undo-history]
|
||||
[:div.history-entry-empty-icon i/recent]
|
||||
[:div.history-entry-empty-msg (t locale "workspace.undo.empty")]]
|
||||
[:ul.history-entries
|
||||
(for [[idx-entry entry] (->> entries (map-indexed vector) reverse)] #_[i (range 0 10)]
|
||||
|
|
|
@ -233,7 +233,7 @@
|
|||
(if (:hidden item) i/eye-closed i/eye)]
|
||||
[:div.block-element {:class (when (:blocked item) "selected")
|
||||
:on-click toggle-blocking}
|
||||
(if (:blocked item) i/lock i/lock-open)]]
|
||||
(if (:blocked item) i/lock i/unlock)]]
|
||||
|
||||
(when (:shapes item)
|
||||
[:span.toggle-content
|
||||
|
|
|
@ -133,7 +133,7 @@
|
|||
|
||||
(cond
|
||||
(or (= :multiple (:blocked values)) (not (:blocked values)))
|
||||
[:div.element-set-actions-button {:on-click handle-set-blocked} i/lock-open]
|
||||
[:div.element-set-actions-button {:on-click handle-set-blocked} i/unlock]
|
||||
|
||||
:else
|
||||
[:div.element-set-actions-button {:on-click handle-set-unblocked} i/lock])]]]]))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue