♻️ Rename all refactored icons

This commit is contained in:
Eva Marco 2024-03-08 11:37:16 +01:00 committed by Alonso Torres
parent 4ef2482b02
commit 5739c0797c
232 changed files with 267 additions and 279 deletions

View file

@ -12,7 +12,7 @@
[rumext.v2 :as mf]))
(def ^:private chevron-icon
(i/icon-xref :arrow-refactor (stl/css :chevron-icon)))
(i/icon-xref :arrow (stl/css :chevron-icon)))
(mf/defc title-bar
{::mf/props :obj}

View file

@ -22,14 +22,14 @@
(def ^:private close-icon
(i/icon-xref :close-refactor (stl/css :close-icon)))
(i/icon-xref :close (stl/css :close-icon)))
(def ^:private comments-icon-svg
(i/icon-xref :comments-refactor (stl/css :comments-icon)))
(i/icon-xref :comments (stl/css :comments-icon)))
(def ^:private comments-icon-small
(i/icon-xref :comments-refactor (stl/css :comments-icon-small)))
(i/icon-xref :comments (stl/css :comments-icon-small)))
(mf/defc comments-icon
[{:keys [profile show? on-show-comments]}]

View file

@ -25,7 +25,7 @@
[rumext.v2 :as mf]))
(def ^:private menu-icon
(i/icon-xref :menu-refactor (stl/css :menu-icon)))
(i/icon-xref :menu (stl/css :menu-icon)))
(mf/defc header
[{:keys [project create-fn] :as props}]

View file

@ -96,7 +96,7 @@
;; --- Grid Item Library
(def ^:private menu-icon
(i/icon-xref :menu-refactor (stl/css :menu-icon)))
(i/icon-xref :menu (stl/css :menu-icon)))
(mf/defc grid-item-library
{::mf/wrap [mf/memo]}

View file

@ -16,7 +16,7 @@
[rumext.v2 :as mf]))
(def ^:private pin-icon
(icon-xref :pin-refactor (stl/css :icon)))
(icon-xref :pin (stl/css :icon)))
(mf/defc pin-button*
{::mf/props :obj}

View file

@ -35,10 +35,10 @@
[rumext.v2 :as mf]))
(def ^:private show-more-icon
(i/icon-xref :arrow-refactor (stl/css :show-more-icon)))
(i/icon-xref :arrow (stl/css :show-more-icon)))
(def ^:private close-icon
(i/icon-xref :close-refactor (stl/css :close-icon)))
(i/icon-xref :close (stl/css :close-icon)))
(mf/defc header
{::mf/wrap [mf/memo]}

View file

@ -40,31 +40,31 @@
[rumext.v2 :as mf]))
(def ^:private clear-search-icon
(icon-xref :delete-text-refactor (stl/css :clear-search-icon)))
(icon-xref :delete-text (stl/css :clear-search-icon)))
(def ^:private search-icon
(icon-xref :search-refactor (stl/css :search-icon)))
(icon-xref :search (stl/css :search-icon)))
(def ^:private tick-icon
(icon-xref :tick-refactor (stl/css :tick-icon)))
(icon-xref :tick (stl/css :tick-icon)))
(def ^:private logo-icon
(icon-xref :logo-refactor (stl/css :logo-icon)))
(icon-xref :logo (stl/css :logo-icon)))
(def ^:private add-icon
(icon-xref :add-refactor (stl/css :add-icon)))
(icon-xref :add (stl/css :add-icon)))
(def ^:private arrow-icon
(icon-xref :arrow-refactor (stl/css :arrow-icon)))
(icon-xref :arrow (stl/css :arrow-icon)))
(def ^:private menu-icon
(icon-xref :menu-refactor (stl/css :menu-icon)))
(icon-xref :menu (stl/css :menu-icon)))
(def ^:private pin-icon
(icon-xref :pin-refactor (stl/css :pin-icon)))
(icon-xref :pin (stl/css :pin-icon)))
(def ^:private exit-icon
(icon-xref :exit-refactor (stl/css :exit-icon)))
(icon-xref :exit (stl/css :exit-icon)))
(mf/defc sidebar-project
[{:keys [item selected?] :as props}]

View file

@ -34,28 +34,28 @@
(def ^:private arrow-icon
(i/icon-xref :arrow-refactor (stl/css :arrow-icon)))
(i/icon-xref :arrow (stl/css :arrow-icon)))
(def ^:private menu-icon
(i/icon-xref :menu-refactor (stl/css :menu-icon)))
(i/icon-xref :menu (stl/css :menu-icon)))
(def ^:private warning-icon
(i/icon-xref :msg-warning-refactor (stl/css :warning-icon)))
(i/icon-xref :msg-warning (stl/css :warning-icon)))
(def ^:private success-icon
(i/icon-xref :msg-success-refactor (stl/css :success-icon)))
(i/icon-xref :msg-success (stl/css :success-icon)))
(def ^:private image-icon
(i/icon-xref :img-refactor (stl/css :image-icon)))
(i/icon-xref :img (stl/css :image-icon)))
(def ^:private user-icon
(i/icon-xref :user-refactor (stl/css :user-icon)))
(i/icon-xref :user (stl/css :user-icon)))
(def ^:private document-icon
(i/icon-xref :document-refactor (stl/css :document-icon)))
(i/icon-xref :document (stl/css :document-icon)))
(def ^:private group-icon
(i/icon-xref :group-refactor (stl/css :group-icon)))
(i/icon-xref :group (stl/css :group-icon)))
(mf/defc header
{::mf/wrap [mf/memo]

View file

@ -26,10 +26,10 @@
[rumext.v2 :as mf]))
(def ^:private arrow-icon
(i/icon-xref :arrow-refactor (stl/css :arrow-icon)))
(i/icon-xref :arrow (stl/css :arrow-icon)))
(def ^:private download-icon
(i/icon-xref :download-refactor (stl/css :download-icon)))
(i/icon-xref :download (stl/css :download-icon)))
(def builtin-templates
(l/derived :builtin-templates st/state))

View file

@ -26,13 +26,13 @@
[rumext.v2 :as mf]))
(def ^:private neutral-icon
(i/icon-xref :msg-neutral-refactor (stl/css :icon)))
(i/icon-xref :msg-neutral (stl/css :icon)))
(def ^:private error-icon
(i/icon-xref :delete-text-refactor (stl/css :icon)))
(i/icon-xref :delete-text (stl/css :icon)))
(def ^:private close-icon
(i/icon-xref :close-refactor (stl/css :close-icon)))
(i/icon-xref :close (stl/css :close-icon)))
(mf/defc export-multiple-dialog
[{:keys [exports title cmd no-selection]}]

View file

@ -43,222 +43,221 @@
(def ^:icon align-content-row-start-refactor (icon-xref :align-content-row-start))
(def ^:icon align-content-row-stretch-refactor (icon-xref :align-content-row-stretch))
(def ^:icon align-horizontal-center-refactor (icon-xref :align-horizontal-center))
(def ^:icon align-items-row-center-refactor (icon-xref :align-items-row-center-refactor))
(def ^:icon align-items-row-end-refactor (icon-xref :align-items-row-end-refactor))
(def ^:icon align-items-row-start-refactor (icon-xref :align-items-row-start-refactor))
(def ^:icon align-items-column-center-refactor (icon-xref :align-items-column-center))
(def ^:icon align-items-column-start-refactor (icon-xref :align-items-column-start-refactor))
(def ^:icon align-items-column-end-refactor (icon-xref :align-items-column-end-refactor))
(def ^:icon align-left-refactor (icon-xref :align-left-refactor))
(def ^:icon align-right-refactor (icon-xref :align-right-refactor))
(def ^:icon align-self-column-bottom-refactor (icon-xref :align-self-column-bottom-refactor))
(def ^:icon align-self-column-center-refactor (icon-xref :align-self-column-center-refactor))
(def ^:icon align-self-column-top-refactor (icon-xref :align-self-column-top-refactor))
(def ^:icon align-self-row-center-refactor (icon-xref :align-self-row-center-refactor))
(def ^:icon align-self-row-left-refactor (icon-xref :align-self-row-left-refactor))
(def ^:icon align-self-row-right-refactor (icon-xref :align-self-row-right-refactor))
(def ^:icon align-self-column-stretch-refactor (icon-xref :align-self-column-stretch-refactor))
(def ^:icon align-self-row-stretch-refactor (icon-xref :align-self-row-stretch-refactor))
(def ^:icon align-top-refactor (icon-xref :align-top-refactor))
(def ^:icon align-vertical-center-refactor (icon-xref :align-vertical-center-refactor))
(def ^:icon arrow-refactor (icon-xref :arrow-refactor))
(def ^:icon asc-sort-refactor (icon-xref :asc-sort-refactor))
(def ^:icon board-refactor (icon-xref :board-refactor))
(def ^:icon boards-thumbnail-refactor (icon-xref :boards-thumbnail-refactor))
(def ^:icon boolean-difference-refactor (icon-xref :boolean-difference-refactor))
(def ^:icon boolean-exclude-refactor (icon-xref :boolean-exclude-refactor))
(def ^:icon boolean-flatten-refactor (icon-xref :boolean-flatten-refactor))
(def ^:icon boolean-intersection-refactor (icon-xref :boolean-intersection-refactor))
(def ^:icon boolean-union-refactor (icon-xref :boolean-union-refactor))
(def ^:icon bug-refactor (icon-xref :bug-refactor))
(def ^:icon clip-content-refactor (icon-xref :clip-content-refactor))
(def ^:icon clipboard-refactor (icon-xref :clipboard-refactor))
(def ^:icon close-refactor (icon-xref :close-refactor))
(def ^:icon close-small-refactor (icon-xref :close-small-refactor))
(def ^:icon code-refactor (icon-xref :code-refactor))
(def ^:icon column-refactor (icon-xref :column-refactor))
(def ^:icon column-reverse-refactor (icon-xref :column-reverse-refactor))
(def ^:icon comments-refactor (icon-xref :comments-refactor))
(def ^:icon component-refactor (icon-xref :component-refactor))
(def ^:icon constraint-horizontal-refactor (icon-xref :constraint-horizontal-refactor))
(def ^:icon constraint-vertical-refactor (icon-xref :constraint-vertical-refactor))
(def ^:icon copy-refactor (icon-xref :copy-refactor))
(def ^:icon corner-bottom-refactor (icon-xref :corner-bottom-refactor))
(def ^:icon corner-bottomleft-refactor (icon-xref :corner-bottomleft-refactor))
(def ^:icon corner-bottomright-refactor (icon-xref :corner-bottom-refactor))
(def ^:icon corner-center-refactor (icon-xref :corner-center-refactor))
(def ^:icon corner-radius-refactor (icon-xref :corner-radius-refactor))
(def ^:icon corner-top-refactor (icon-xref :corner-top-refactor))
(def ^:icon corner-topleft-refactor (icon-xref :corner-topleft-refactor))
(def ^:icon corner-topright-refactor (icon-xref :corner-topright-refactor))
(def ^:icon curve-refactor (icon-xref :curve-refactor))
(def ^:icon delete-refactor (icon-xref :delete-refactor))
(def ^:icon delete-text-refactor (icon-xref :delete-text-refactor))
(def ^:icon desc-sort-refactor (icon-xref :desc-sort-refactor))
(def ^:icon detach-refactor (icon-xref :detach-refactor))
(def ^:icon detached-refactor (icon-xref :detached-refactor))
(def ^:icon distribute-horizontally-refactor (icon-xref :distribute-horizontally-refactor))
(def ^:icon distribute-vertical-spacing-refactor (icon-xref :distribute-vertical-spacing-refactor))
(def ^:icon document-refactor (icon-xref :document-refactor))
(def ^:icon download-refactor (icon-xref :download-refactor))
(def ^:icon drop-refactor (icon-xref :drop-refactor))
(def ^:icon easing-ease-in-out-refactor (icon-xref :easing-ease-in-out-refactor))
(def ^:icon easing-ease-in-refactor (icon-xref :easing-ease-in-refactor))
(def ^:icon easing-ease-out-refactor (icon-xref :easing-ease-out-refactor))
(def ^:icon easing-ease-refactor (icon-xref :easing-ease-refactor))
(def ^:icon easing-linear-refactor (icon-xref :easing-linear-refactor))
(def ^:icon effects-refactor (icon-xref :effects-refactor))
(def ^:icon elipse-refactor (icon-xref :elipse-refactor))
(def ^:icon exit-refactor (icon-xref :exit-refactor))
(def ^:icon expand-refactor (icon-xref :expand-refactor))
(def ^:icon feedback-refactor (icon-xref :feedback-refactor))
(def ^:icon fill-content-refactor (icon-xref :fill-content-refactor))
(def ^:icon filter-refactor (icon-xref :filter-refactor))
(def ^:icon fixed-width-refactor (icon-xref :fixed-width-refactor))
(def ^:icon flex-grid-refactor (icon-xref :flex-grid-refactor))
(def ^:icon flex-horizontal-refactor (icon-xref :flex-horizontal-refactor))
(def ^:icon flex-refactor (icon-xref :flex-refactor))
(def ^:icon flex-vertical-refactor (icon-xref :flex-vertical-refactor))
(def ^:icon flip-horizontal-refactor (icon-xref :flip-horizontal-refactor))
(def ^:icon flip-vertical-refactor (icon-xref :flip-vertical-refactor))
(def ^:icon gap-horizontal-refactor (icon-xref :gap-horizontal-refactor))
(def ^:icon gap-vertical-refactor (icon-xref :gap-vertical-refactor))
(def ^:icon grid-column-refactor (icon-xref :grid-column-refactor))
(def ^:icon grid-columns-refactor (icon-xref :grid-columns-refactor))
(def ^:icon grid-gutter-refactor (icon-xref :grid-gutter-refactor))
(def ^:icon grid-margin-refactor (icon-xref :grid-margin-refactor))
(def ^:icon grid-refactor (icon-xref :grid-refactor))
(def ^:icon grid-row-refactor (icon-xref :grid-row-refactor))
(def ^:icon grid-rows-refactor (icon-xref :grid-rows-refactor))
(def ^:icon grid-square-refactor (icon-xref :grid-square-refactor))
(def ^:icon group-refactor (icon-xref :group-refactor))
(def ^:icon gutter-horizontal-refactor (icon-xref :gutter-horizontal-refactor))
(def ^:icon gutter-vertical-refactor (icon-xref :gutter-vertical-refactor))
(def ^:icon graphics-refactor (icon-xref :graphics-refactor))
(def ^:icon help-refactor (icon-xref :help-refactor))
(def ^:icon hide-refactor (icon-xref :hide-refactor))
(def ^:icon history-refactor (icon-xref :history-refactor))
(def ^:icon hsva-refactor (icon-xref :hsva-refactor))
(def ^:icon hug-content-refactor (icon-xref :hug-content-refactor))
(def ^:icon icon-refactor (icon-xref :icon-refactor))
(def ^:icon img-refactor (icon-xref :img-refactor))
(def ^:icon interaction-refactor (icon-xref :interaction-refactor))
(def ^:icon join-nodes-refactor (icon-xref :join-nodes-refactor))
(def ^:icon justify-content-column-around-refactor (icon-xref :justify-content-column-around-refactor))
(def ^:icon justify-content-column-between-refactor (icon-xref :justify-content-column-between-refactor))
(def ^:icon justify-content-column-center-refactor (icon-xref :justify-content-column-center-refactor))
(def ^:icon justify-content-column-end-refactor (icon-xref :justify-content-column-end-refactor))
(def ^:icon justify-content-column-evenly-refactor (icon-xref :justify-content-column-evenly-refactor))
(def ^:icon justify-content-column-start-refactor (icon-xref :justify-content-column-start-refactor))
(def ^:icon justify-content-row-center-refactor (icon-xref :justify-content-row-center-refactor))
(def ^:icon justify-content-row-end-refactor (icon-xref :justify-content-row-end-refactor))
(def ^:icon justify-content-row-start-refactor (icon-xref :justify-content-row-start-refactor))
(def ^:icon justify-content-row-between-refactor (icon-xref :justify-content-row-between-refactor))
(def ^:icon justify-content-row-around-refactor (icon-xref :justify-content-row-around-refactor))
(def ^:icon justify-content-row-evenly-refactor (icon-xref :justify-content-row-evenly-refactor))
(def ^:icon layers-refactor (icon-xref :layers-refactor))
(def ^:icon library-refactor (icon-xref :library-refactor))
(def ^:icon locate-refactor (icon-xref :locate-refactor))
(def ^:icon lock-refactor (icon-xref :lock-refactor)) ;; This icon will not change
(def ^:icon align-items-column-end-refactor (icon-xref :align-items-column-end))
(def ^:icon align-items-column-start-refactor (icon-xref :align-items-column-start))
(def ^:icon align-items-row-center-refactor (icon-xref :align-items-row-center))
(def ^:icon align-items-row-end-refactor (icon-xref :align-items-row-end))
(def ^:icon align-items-row-start-refactor (icon-xref :align-items-row-start))
(def ^:icon align-left-refactor (icon-xref :align-left))
(def ^:icon align-right-refactor (icon-xref :align-right))
(def ^:icon align-self-column-bottom-refactor (icon-xref :align-self-column-bottom))
(def ^:icon align-self-column-center-refactor (icon-xref :align-self-column-center))
(def ^:icon align-self-column-stretch-refactor (icon-xref :align-self-column-stretch))
(def ^:icon align-self-column-top-refactor (icon-xref :align-self-column-top))
(def ^:icon align-self-row-center-refactor (icon-xref :align-self-row-center))
(def ^:icon align-self-row-left-refactor (icon-xref :align-self-row-left))
(def ^:icon align-self-row-right-refactor (icon-xref :align-self-row-right))
(def ^:icon align-self-row-stretch-refactor (icon-xref :align-self-row-stretch))
(def ^:icon align-top-refactor (icon-xref :align-top))
(def ^:icon align-vertical-center-refactor (icon-xref :align-vertical-center))
(def ^:icon arrow-refactor (icon-xref :arrow))
(def ^:icon asc-sort-refactor (icon-xref :asc-sort))
(def ^:icon board-refactor (icon-xref :board))
(def ^:icon boards-thumbnail-refactor (icon-xref :boards-thumbnail))
(def ^:icon boolean-difference-refactor (icon-xref :boolean-difference))
(def ^:icon boolean-exclude-refactor (icon-xref :boolean-exclude))
(def ^:icon boolean-flatten-refactor (icon-xref :boolean-flatten))
(def ^:icon boolean-intersection-refactor (icon-xref :boolean-intersection))
(def ^:icon boolean-union-refactor (icon-xref :boolean-union))
(def ^:icon bug-refactor (icon-xref :bug))
(def ^:icon clip-content-refactor (icon-xref :clip-content))
(def ^:icon clipboard-refactor (icon-xref :clipboard))
(def ^:icon close-small-refactor (icon-xref :close-small))
(def ^:icon close-refactor (icon-xref :close))
(def ^:icon code-refactor (icon-xref :code))
(def ^:icon column-reverse-refactor (icon-xref :column-reverse))
(def ^:icon column-refactor (icon-xref :column))
(def ^:icon comments-refactor (icon-xref :comments))
(def ^:icon copy-refactor (icon-xref :component-copy))
(def ^:icon component-refactor (icon-xref :component))
(def ^:icon constraint-horizontal-refactor (icon-xref :constraint-horizontal))
(def ^:icon constraint-vertical-refactor (icon-xref :constraint-vertical))
(def ^:icon corner-bottomleft-refactor (icon-xref :corner-bottom-left))
(def ^:icon corner-bottomright-refactor (icon-xref :corner-bottom-right))
(def ^:icon corner-bottom-refactor (icon-xref :corner-bottom))
(def ^:icon corner-center-refactor (icon-xref :corner-center))
(def ^:icon corner-radius-refactor (icon-xref :corner-radius))
(def ^:icon corner-top-refactor (icon-xref :corner-top))
(def ^:icon corner-topleft-refactor (icon-xref :corner-top-left))
(def ^:icon corner-topright-refactor (icon-xref :corner-top-right))
(def ^:icon curve-refactor (icon-xref :curve))
(def ^:icon delete-text-refactor (icon-xref :delete-text))
(def ^:icon delete-refactor (icon-xref :delete))
(def ^:icon desc-sort-refactor (icon-xref :desc-sort))
(def ^:icon detach-refactor (icon-xref :detach))
(def ^:icon detached-refactor (icon-xref :detached))
(def ^:icon distribute-horizontally-refactor (icon-xref :distribute-horizontally))
(def ^:icon distribute-vertical-spacing-refactor (icon-xref :distribute-vertical-spacing))
(def ^:icon document-refactor (icon-xref :document))
(def ^:icon download-refactor (icon-xref :download))
(def ^:icon drop-refactor (icon-xref :drop))
(def ^:icon easing-ease-in-out-refactor (icon-xref :easing-ease-in-out))
(def ^:icon easing-ease-in-refactor (icon-xref :easing-ease-in))
(def ^:icon easing-ease-out-refactor (icon-xref :easing-ease-out))
(def ^:icon easing-ease-refactor (icon-xref :easing-ease))
(def ^:icon easing-linear-refactor (icon-xref :easing-linear))
(def ^:icon effects-refactor (icon-xref :effects))
(def ^:icon elipse-refactor (icon-xref :elipse))
(def ^:icon exit-refactor (icon-xref :exit))
(def ^:icon expand-refactor (icon-xref :expand))
(def ^:icon feedback-refactor (icon-xref :feedback))
(def ^:icon fill-content-refactor (icon-xref :fill-content))
(def ^:icon filter-refactor (icon-xref :filter))
(def ^:icon fixed-width-refactor (icon-xref :fixed-width))
(def ^:icon flex-grid-refactor (icon-xref :flex-grid))
(def ^:icon flex-horizontal-refactor (icon-xref :flex-horizontal))
(def ^:icon flex-vertical-refactor (icon-xref :flex-vertical))
(def ^:icon flex-refactor (icon-xref :flex))
(def ^:icon flip-horizontal-refactor (icon-xref :flip-horizontal))
(def ^:icon flip-vertical-refactor (icon-xref :flip-vertical))
(def ^:icon gap-horizontal-refactor (icon-xref :gap-horizontal))
(def ^:icon gap-vertical-refactor (icon-xref :gap-vertical))
(def ^:icon graphics-refactor (icon-xref :graphics))
(def ^:icon grid-column-refactor (icon-xref :grid-column))
(def ^:icon grid-columns-refactor (icon-xref :grid-columns))
(def ^:icon grid-gutter-refactor (icon-xref :grid-gutter))
(def ^:icon grid-margin-refactor (icon-xref :grid-margin))
(def ^:icon grid-refactor (icon-xref :grid))
(def ^:icon grid-row-refactor (icon-xref :grid-row))
(def ^:icon grid-rows-refactor (icon-xref :grid-rows))
(def ^:icon grid-square-refactor (icon-xref :grid-square))
(def ^:icon group-refactor (icon-xref :group))
(def ^:icon gutter-horizontal-refactor (icon-xref :gutter-horizontal))
(def ^:icon gutter-vertical-refactor (icon-xref :gutter-vertical))
(def ^:icon help-refactor (icon-xref :help))
(def ^:icon hide-refactor (icon-xref :hide))
(def ^:icon history-refactor (icon-xref :history))
(def ^:icon hsva-refactor (icon-xref :hsva))
(def ^:icon hug-content-refactor (icon-xref :hug-content))
(def ^:icon icon-refactor (icon-xref :icon))
(def ^:icon img-refactor (icon-xref :img))
(def ^:icon interaction-refactor (icon-xref :interaction))
(def ^:icon join-nodes-refactor (icon-xref :join-nodes))
(def ^:icon justify-content-column-around-refactor (icon-xref :justify-content-column-around))
(def ^:icon justify-content-column-between-refactor (icon-xref :justify-content-column-between))
(def ^:icon justify-content-column-center-refactor (icon-xref :justify-content-column-center))
(def ^:icon justify-content-column-end-refactor (icon-xref :justify-content-column-end))
(def ^:icon justify-content-column-evenly-refactor (icon-xref :justify-content-column-evenly))
(def ^:icon justify-content-column-start-refactor (icon-xref :justify-content-column-start))
(def ^:icon justify-content-row-around-refactor (icon-xref :justify-content-row-around))
(def ^:icon justify-content-row-between-refactor (icon-xref :justify-content-row-between))
(def ^:icon justify-content-row-center-refactor (icon-xref :justify-content-row-center))
(def ^:icon justify-content-row-end-refactor (icon-xref :justify-content-row-end))
(def ^:icon justify-content-row-evenly-refactor (icon-xref :justify-content-row-evenly))
(def ^:icon justify-content-row-start-refactor (icon-xref :justify-content-row-start))
(def ^:icon layers-refactor (icon-xref :layers))
(def ^:icon library-refactor (icon-xref :library))
(def ^:icon locate-refactor (icon-xref :locate))
(def ^:icon lock-refactor (icon-xref :lock)) ;; This icon will not change
(def ^:icon logo-refactor (icon-xref :penpot-logo-icon))
(def ^:icon margin-bottom-refactor (icon-xref :margin-bottom-refactor))
(def ^:icon margin-left-refactor (icon-xref :margin-left-refactor))
(def ^:icon margin-left-right-refactor (icon-xref :margin-left-right-refactor))
(def ^:icon margin-refactor (icon-xref :margin-refactor))
(def ^:icon margin-right-refactor (icon-xref :margin-right-refactor))
(def ^:icon margin-top-bottom-refactor (icon-xref :margin-top-bottom-refactor))
(def ^:icon margin-top-refactor (icon-xref :margin-top-refactor))
(def ^:icon mask-refactor (icon-xref :mask-refactor))
(def ^:icon masked-refactor (icon-xref :masked-refactor))
(def ^:icon menu-refactor (icon-xref :menu-refactor))
(def ^:icon merge-nodes-refactor (icon-xref :merge-nodes-refactor))
(def ^:icon msg-error-refactor (icon-xref :msg-error-refactor))
(def ^:icon msg-neutral-refactor (icon-xref :msg-neutral-refactor))
(def ^:icon msg-success-refactor (icon-xref :msg-success-refactor))
(def ^:icon msg-warning-refactor (icon-xref :msg-warning-refactor))
(def ^:icon move-refactor (icon-xref :move-refactor))
(def ^:icon open-link-refactor (icon-xref :open-link-refactor))
(def ^:icon padding-bottom-refactor (icon-xref :padding-bottom-refactor))
(def ^:icon padding-extended-refactor (icon-xref :padding-extended-refactor))
(def ^:icon padding-left-refactor (icon-xref :padding-left-refactor))
(def ^:icon padding-left-right-refactor (icon-xref :padding-left-right-refactor))
(def ^:icon padding-right-refactor (icon-xref :padding-right-refactor))
(def ^:icon padding-top-bottom-refactor (icon-xref :padding-top-bottom-refactor))
(def ^:icon padding-top-refactor (icon-xref :padding-top-refactor))
(def ^:icon path-refactor (icon-xref :path-refactor))
(def ^:icon pentool-refactor (icon-xref :pentool-refactor))
(def ^:icon picker-refactor (icon-xref :picker-refactor))
(def ^:icon pin-refactor (icon-xref :pin-refactor))
(def ^:icon play-refactor (icon-xref :play-refactor))
(def ^:icon rectangle-refactor (icon-xref :rectangle-refactor))
(def ^:icon reload-refactor (icon-xref :reload-refactor))
(def ^:icon remove-refactor (icon-xref :remove-refactor))
(def ^:icon rgba-complementary-refactor (icon-xref :rgba-complementary-refactor))
(def ^:icon rgba-refactor (icon-xref :rgba-refactor))
(def ^:icon rotation-refactor (icon-xref :rotation-refactor))
(def ^:icon row-refactor (icon-xref :row-refactor))
(def ^:icon row-reverse-refactor (icon-xref :row-reverse-refactor))
(def ^:icon search-refactor (icon-xref :search-refactor))
(def ^:icon separate-nodes-refactor (icon-xref :separate-nodes-refactor))
(def ^:icon shown-refactor (icon-xref :shown-refactor))
(def ^:icon size-horizontal-refactor (icon-xref :size-horizontal-refactor))
(def ^:icon size-vertical-refactor (icon-xref :size-vertical-refactor))
(def ^:icon snap-nodes-refactor (icon-xref :snap-nodes-refactor))
(def ^:icon status-alert-refactor (icon-xref :status-alert-refactor))
(def ^:icon status-tick-refactor (icon-xref :status-tick-refactor))
(def ^:icon status-update-refactor (icon-xref :status-update-refactor))
(def ^:icon status-wrong-refactor (icon-xref :status-wrong-refactor))
(def ^:icon stroke-arrow-refactor (icon-xref :stroke-arrow-refactor))
(def ^:icon stroke-circle-refactor (icon-xref :stroke-circle-refactor))
(def ^:icon stroke-diamond-refactor (icon-xref :stroke-diamond-refactor))
(def ^:icon stroke-rectangle-refactor (icon-xref :stroke-rectangle-refactor))
(def ^:icon stroke-rounded-refactor (icon-xref :stroke-rounded-refactor))
(def ^:icon stroke-size-refactor (icon-xref :stroke-size-refactor))
(def ^:icon stroke-squared-refactor (icon-xref :stroke-squared-refactor))
(def ^:icon stroke-triangle-refactor (icon-xref :stroke-triangle-refactor))
(def ^:icon svg-refactor (icon-xref :svg-refactor))
(def ^:icon swatches-refactor (icon-xref :swatches-refactor))
(def ^:icon switch-refactor (icon-xref :switch-refactor))
(def ^:icon text-align-center-refactor (icon-xref :text-align-center-refactor))
(def ^:icon text-align-left-refactor (icon-xref :text-align-left-refactor))
(def ^:icon text-align-right-refactor (icon-xref :text-align-right-refactor))
(def ^:icon text-auto-height-refactor (icon-xref :text-auto-height-refactor))
(def ^:icon text-auto-width-refactor (icon-xref :text-auto-width-refactor))
(def ^:icon text-bottom-refactor (icon-xref :text-bottom-refactor))
(def ^:icon text-fixed-refactor (icon-xref :text-fixed-refactor))
(def ^:icon text-justify-refactor (icon-xref :text-justify-refactor))
(def ^:icon text-letterspacing-refactor (icon-xref :text-letterspacing-refactor))
(def ^:icon text-lineheight-refactor (icon-xref :text-lineheight-refactor))
(def ^:icon text-lowercase-refactor (icon-xref :text-lowercase-refactor))
(def ^:icon text-ltr-refactor (icon-xref :text-ltr-refactor))
(def ^:icon text-middle-refactor (icon-xref :text-middle-refactor))
(def ^:icon text-mixed-refactor (icon-xref :text-mixed-refactor))
(def ^:icon text-palette-refactor (icon-xref :text-palette-refactor))
(def ^:icon text-paragraph-refactor (icon-xref :text-paragraph-refactor))
(def ^:icon text-refactor (icon-xref :text-refactor))
(def ^:icon text-rtl-refactor (icon-xref :text-rtl-refactor))
(def ^:icon text-stroked-refactor (icon-xref :text-stroked-refactor))
(def ^:icon text-top-refactor (icon-xref :text-top-refactor))
(def ^:icon text-underlined-refactor (icon-xref :text-underlined-refactor))
(def ^:icon text-uppercase-refactor (icon-xref :text-uppercase-refactor))
(def ^:icon thumbnail-refactor (icon-xref :thumbnail-refactor))
(def ^:icon tick-refactor (icon-xref :tick-refactor))
(def ^:icon to-corner-refactor (icon-xref :to-corner-refactor))
(def ^:icon to-curve-refactor (icon-xref :to-curve-refactor))
(def ^:icon tree-refactor (icon-xref :tree-refactor))
(def ^:icon unlock-refactor (icon-xref :unlock-refactor))
(def ^:icon user-refactor (icon-xref :user-refactor))
(def ^:icon vertical-align-items-center-refactor (icon-xref :vertical-align-items-center-refactor))
(def ^:icon vertical-align-items-end-refactor (icon-xref :vertical-align-items-end-refactor))
(def ^:icon vertical-align-items-start-refactor (icon-xref :vertical-align-items-start-refactor))
(def ^:icon view-as-icons-refactor (icon-xref :view-as-icons-refactor))
(def ^:icon view-as-list-refactor (icon-xref :view-as-list-refactor))
(def ^:icon wrap-refactor (icon-xref :wrap-refactor))
(def ^:icon margin-bottom-refactor (icon-xref :margin-bottom))
(def ^:icon margin-left-refactor (icon-xref :margin-left))
(def ^:icon margin-left-right-refactor (icon-xref :margin-left-right))
(def ^:icon margin-right-refactor (icon-xref :margin-right))
(def ^:icon margin-top-bottom-refactor (icon-xref :margin-top-bottom))
(def ^:icon margin-top-refactor (icon-xref :margin-top))
(def ^:icon margin-refactor (icon-xref :margin))
(def ^:icon mask-refactor (icon-xref :mask))
(def ^:icon masked-refactor (icon-xref :masked))
(def ^:icon menu-refactor (icon-xref :menu))
(def ^:icon merge-nodes-refactor (icon-xref :merge-nodes))
(def ^:icon move-refactor (icon-xref :move))
(def ^:icon msg-error-refactor (icon-xref :msg-error))
(def ^:icon msg-neutral-refactor (icon-xref :msg-neutral))
(def ^:icon msg-success-refactor (icon-xref :msg-success))
(def ^:icon msg-warning-refactor (icon-xref :msg-warning))
(def ^:icon open-link-refactor (icon-xref :open-link))
(def ^:icon padding-bottom-refactor (icon-xref :padding-bottom))
(def ^:icon padding-extended-refactor (icon-xref :padding-extended))
(def ^:icon padding-left-right-refactor (icon-xref :padding-left-right))
(def ^:icon padding-left-refactor (icon-xref :padding-left))
(def ^:icon padding-right-refactor (icon-xref :padding-right))
(def ^:icon padding-top-bottom-refactor (icon-xref :padding-top-bottom))
(def ^:icon padding-top-refactor (icon-xref :padding-top))
(def ^:icon path-refactor (icon-xref :path))
(def ^:icon pentool-refactor (icon-xref :pentool))
(def ^:icon picker-refactor (icon-xref :picker))
(def ^:icon pin-refactor (icon-xref :pin))
(def ^:icon play-refactor (icon-xref :play))
(def ^:icon rectangle-refactor (icon-xref :rectangle))
(def ^:icon reload-refactor (icon-xref :reload))
(def ^:icon remove-refactor (icon-xref :remove))
(def ^:icon rgba-complementary-refactor (icon-xref :rgba-complementary))
(def ^:icon rgba-refactor (icon-xref :rgba))
(def ^:icon rotation-refactor (icon-xref :rotation))
(def ^:icon row-reverse-refactor (icon-xref :row-reverse))
(def ^:icon row-refactor (icon-xref :row))
(def ^:icon search-refactor (icon-xref :search))
(def ^:icon separate-nodes-refactor (icon-xref :separate-nodes))
(def ^:icon shown-refactor (icon-xref :shown))
(def ^:icon size-horizontal-refactor (icon-xref :size-horizontal))
(def ^:icon size-vertical-refactor (icon-xref :size-vertical))
(def ^:icon snap-nodes-refactor (icon-xref :snap-nodes))
(def ^:icon status-alert-refactor (icon-xref :status-alert))
(def ^:icon status-tick-refactor (icon-xref :status-tick))
(def ^:icon status-update-refactor (icon-xref :status-update))
(def ^:icon status-wrong-refactor (icon-xref :status-wrong))
(def ^:icon stroke-arrow-refactor (icon-xref :stroke-arrow))
(def ^:icon stroke-circle-refactor (icon-xref :stroke-circle))
(def ^:icon stroke-diamond-refactor (icon-xref :stroke-diamond))
(def ^:icon stroke-rectangle-refactor (icon-xref :stroke-rectangle))
(def ^:icon stroke-rounded-refactor (icon-xref :stroke-rounded))
(def ^:icon stroke-size-refactor (icon-xref :stroke-size))
(def ^:icon stroke-squared-refactor (icon-xref :stroke-squared))
(def ^:icon stroke-triangle-refactor (icon-xref :stroke-triangle))
(def ^:icon svg-refactor (icon-xref :svg))
(def ^:icon swatches-refactor (icon-xref :swatches))
(def ^:icon switch-refactor (icon-xref :switch))
(def ^:icon text-align-center-refactor (icon-xref :text-align-center))
(def ^:icon text-align-left-refactor (icon-xref :text-align-left))
(def ^:icon text-align-right-refactor (icon-xref :text-align-right))
(def ^:icon text-auto-height-refactor (icon-xref :text-auto-height))
(def ^:icon text-auto-width-refactor (icon-xref :text-auto-width))
(def ^:icon text-bottom-refactor (icon-xref :text-bottom))
(def ^:icon text-fixed-refactor (icon-xref :text-fixed))
(def ^:icon text-justify-refactor (icon-xref :text-justify))
(def ^:icon text-letterspacing-refactor (icon-xref :text-letterspacing))
(def ^:icon text-lineheight-refactor (icon-xref :text-lineheight))
(def ^:icon text-lowercase-refactor (icon-xref :text-lowercase))
(def ^:icon text-ltr-refactor (icon-xref :text-ltr))
(def ^:icon text-middle-refactor (icon-xref :text-middle))
(def ^:icon text-mixed-refactor (icon-xref :text-mixed))
(def ^:icon text-palette-refactor (icon-xref :text-palette))
(def ^:icon text-paragraph-refactor (icon-xref :text-paragraph))
(def ^:icon text-rtl-refactor (icon-xref :text-rtl))
(def ^:icon text-stroked-refactor (icon-xref :text-stroked))
(def ^:icon text-top-refactor (icon-xref :text-top))
(def ^:icon text-underlined-refactor (icon-xref :text-underlined))
(def ^:icon text-uppercase-refactor (icon-xref :text-uppercase))
(def ^:icon text-refactor (icon-xref :text))
(def ^:icon thumbnail-refactor (icon-xref :thumbnail))
(def ^:icon tick-refactor (icon-xref :tick))
(def ^:icon to-corner-refactor (icon-xref :to-corner))
(def ^:icon to-curve-refactor (icon-xref :to-curve))
(def ^:icon tree-refactor (icon-xref :tree))
(def ^:icon unlock-refactor (icon-xref :unlock))
(def ^:icon user-refactor (icon-xref :user))
(def ^:icon v2-icon-1 (icon-xref :v2-icon-1))
(def ^:icon v2-icon-2 (icon-xref :v2-icon-2))
(def ^:icon v2-icon-3 (icon-xref :v2-icon-3))
(def ^:icon v2-icon-4 (icon-xref :v2-icon-4))
(def ^:icon vertical-align-items-center-refactor (icon-xref :vertical-align-items-center))
(def ^:icon vertical-align-items-end-refactor (icon-xref :vertical-align-items-end))
(def ^:icon vertical-align-items-start-refactor (icon-xref :vertical-align-items-start))
(def ^:icon view-as-icons-refactor (icon-xref :view-as-icons))
(def ^:icon view-as-list-refactor (icon-xref :view-as-list))
(def ^:icon wrap-refactor (icon-xref :wrap))
(def ^:icon loader-pencil

View file

@ -14,16 +14,16 @@
[rumext.v2 :as mf]))
(def ^:private neutral-icon
(i/icon-xref :msg-neutral-refactor (stl/css :icon)))
(i/icon-xref :msg-neutral (stl/css :icon)))
(def ^:private error-icon
(i/icon-xref :delete-text-refactor (stl/css :icon)))
(i/icon-xref :delete-text (stl/css :icon)))
(def ^:private success-icon
(i/icon-xref :status-tick-refactor (stl/css :icon)))
(i/icon-xref :status-tick (stl/css :icon)))
(def ^:private info-icon
(i/icon-xref :help-refactor (stl/css :icon)))
(i/icon-xref :help (stl/css :icon)))
(defn get-icon-by-type
[type]

View file

@ -14,19 +14,19 @@
[rumext.v2 :as mf]))
(def ^:private neutral-icon
(i/icon-xref :msg-neutral-refactor (stl/css :icon)))
(i/icon-xref :msg-neutral (stl/css :icon)))
(def ^:private error-icon
(i/icon-xref :delete-text-refactor (stl/css :icon)))
(i/icon-xref :delete-text (stl/css :icon)))
(def ^:private success-icon
(i/icon-xref :status-tick-refactor (stl/css :icon)))
(i/icon-xref :status-tick (stl/css :icon)))
(def ^:private info-icon
(i/icon-xref :help-refactor (stl/css :icon)))
(i/icon-xref :help (stl/css :icon)))
(def ^:private close-icon
(i/icon-xref :close-refactor (stl/css :close-icon)))
(i/icon-xref :close (stl/css :close-icon)))
(defn get-icon-by-type
[type]

View file

@ -26,13 +26,13 @@
[rumext.v2 :as mf]))
(def ^:private clipboard-icon
(i/icon-xref :clipboard-refactor (stl/css :clipboard-icon)))
(i/icon-xref :clipboard (stl/css :clipboard-icon)))
(def ^:private close-icon
(i/icon-xref :close-refactor (stl/css :close-icon)))
(i/icon-xref :close (stl/css :close-icon)))
(def ^:private menu-icon
(i/icon-xref :menu-refactor (stl/css :menu-icon)))
(i/icon-xref :menu (stl/css :menu-icon)))
(def tokens-ref
(l/derived :access-tokens st/state))

View file

@ -21,10 +21,10 @@
[rumext.v2 :as mf]))
(def ^:private arrow-icon
(i/icon-xref :arrow-refactor (stl/css :arrow-icon)))
(i/icon-xref :arrow (stl/css :arrow-icon)))
(def ^:private feedback-icon
(i/icon-xref :feedback-refactor (stl/css :feedback-icon)))
(i/icon-xref :feedback (stl/css :feedback-icon)))
(def ^:private go-settings-profile
#(st/emit! (rt/nav :settings-profile)))

View file

@ -18,7 +18,7 @@
[rumext.v2 :as mf]))
(def ^:private flatten-icon
(i/icon-xref :boolean-flatten-refactor (stl/css :flatten-icon)))
(i/icon-xref :boolean-flatten (stl/css :flatten-icon)))
(mf/defc bool-options
[]

View file

@ -183,19 +183,19 @@
[:& flow-item {:flow flow :key (str (:id flow))}])])))
(def ^:private corner-center-icon
(i/icon-xref :corner-center-refactor (stl/css :corner-icon)))
(i/icon-xref :corner-center (stl/css :corner-icon)))
(def ^:private corner-bottom-icon
(i/icon-xref :corner-bottom-refactor (stl/css :corner-icon)))
(i/icon-xref :corner-bottom (stl/css :corner-icon)))
(def ^:private corner-bottomleft-icon
(i/icon-xref :corner-bottomleft-refactor (stl/css :corner-icon)))
(i/icon-xref :corner-bottomleft (stl/css :corner-icon)))
(def ^:private corner-bottomright-icon
(i/icon-xref :corner-bottomright-refactor (stl/css :corner-icon)))
(i/icon-xref :corner-bottomright (stl/css :corner-icon)))
(def ^:private corner-top-icon
(i/icon-xref :corner-top-refactor (stl/css :corner-icon)))
(i/icon-xref :corner-top (stl/css :corner-icon)))
(def ^:private corner-topleft-icon
(i/icon-xref :corner-topleft-refactor (stl/css :corner-icon)))
(i/icon-xref :corner-topleft (stl/css :corner-icon)))
(def ^:private corner-topright-icon
(i/icon-xref :corner-topright-refactor (stl/css :corner-icon)))
(i/icon-xref :corner-topright (stl/css :corner-icon)))
(mf/defc interaction-entry
[{:keys [index shape interaction update-interaction remove-interaction]}]

View file

@ -52,10 +52,10 @@
:svg-raw #{:size :position :rotation}
:text #{:size :position :rotation}})
(def ^:private clip-content-icon (i/icon-xref :clip-content-refactor (stl/css :checkbox-button)))
(def ^:private play-icon (i/icon-xref :play-refactor (stl/css :checkbox-button)))
(def ^:private locked-icon (i/icon-xref :detach-refactor (stl/css :lock-ratio-icon)))
(def ^:private unlocked-icon (i/icon-xref :detached-refactor (stl/css :lock-ratio-icon)))
(def ^:private clip-content-icon (i/icon-xref :clip-content (stl/css :checkbox-button)))
(def ^:private play-icon (i/icon-xref :play (stl/css :checkbox-button)))
(def ^:private locked-icon (i/icon-xref :detach (stl/css :lock-ratio-icon)))
(def ^:private unlocked-icon (i/icon-xref :detached (stl/css :lock-ratio-icon)))
(defn select-measure-keys
"Consider some shapes can be drawn from bottom to top or from left to right"

View file

@ -29,7 +29,7 @@
(def ^:private detach-icon
(i/icon-xref :detach-refactor (stl/css :detach-icon)))
(i/icon-xref :detach (stl/css :detach-icon)))
(defn opacity->string
[opacity]