🎉 Add new svg icons

This commit is contained in:
elhombretecla 2021-04-29 14:47:26 +02:00 committed by Andrés Moya
parent 4ac3573ab1
commit 81d9727d03
53 changed files with 128 additions and 81 deletions

View file

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

View file

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

View file

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

View file

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