mirror of
https://github.com/penpot/penpot.git
synced 2025-01-09 00:10:11 -05:00
formatting
This commit is contained in:
parent
e62323ac0a
commit
f052b75dac
2 changed files with 9 additions and 9 deletions
|
@ -68,11 +68,11 @@
|
||||||
:set-item-set (= type :set)
|
:set-item-set (= type :set)
|
||||||
:selected-set (and (= type :set) @selected?))}
|
:selected-set (and (= type :set) @selected?))}
|
||||||
(when (= type :group)
|
(when (= type :group)
|
||||||
[:span {:class (stl/css-case
|
[:span {:class (stl/css-case
|
||||||
:collapsabled-icon true
|
:collapsabled-icon true
|
||||||
:collapsed @collapsed?)
|
:collapsed @collapsed?)
|
||||||
:on-click #(when (= type :group) (swap! collapsed? not))}
|
:on-click #(when (= type :group) (swap! collapsed? not))}
|
||||||
chevron-icon])
|
chevron-icon])
|
||||||
[:span {:class (stl/css :icon)} icon]
|
[:span {:class (stl/css :icon)} icon]
|
||||||
[:div {:class (stl/css :set-name)} name]
|
[:div {:class (stl/css :set-name)} name]
|
||||||
(when (= type :set)
|
(when (= type :set)
|
||||||
|
|
|
@ -12,16 +12,16 @@
|
||||||
[app.main.data.tokens :as dt]
|
[app.main.data.tokens :as dt]
|
||||||
[app.main.refs :as refs]
|
[app.main.refs :as refs]
|
||||||
[app.main.store :as st]
|
[app.main.store :as st]
|
||||||
|
[app.main.ui.components.title-bar :refer [title-bar]]
|
||||||
[app.main.ui.icons :as i]
|
[app.main.ui.icons :as i]
|
||||||
[app.main.ui.workspace.sidebar.assets.common :as cmm]
|
[app.main.ui.workspace.sidebar.assets.common :as cmm]
|
||||||
[app.main.ui.workspace.tokens.changes :as wtch]
|
[app.main.ui.workspace.tokens.changes :as wtch]
|
||||||
[app.main.ui.workspace.tokens.context-menu :refer [token-context-menu]]
|
[app.main.ui.workspace.tokens.context-menu :refer [token-context-menu]]
|
||||||
[app.main.ui.workspace.tokens.core :as wtc]
|
[app.main.ui.workspace.tokens.core :as wtc]
|
||||||
|
[app.main.ui.workspace.tokens.sets :refer [sets-list]]
|
||||||
[app.main.ui.workspace.tokens.style-dictionary :as sd]
|
[app.main.ui.workspace.tokens.style-dictionary :as sd]
|
||||||
[app.main.ui.workspace.tokens.token :as wtt]
|
[app.main.ui.workspace.tokens.token :as wtt]
|
||||||
[app.main.ui.workspace.tokens.token-types :as wtty]
|
[app.main.ui.workspace.tokens.token-types :as wtty]
|
||||||
[app.main.ui.components.title-bar :refer [title-bar]]
|
|
||||||
[app.main.ui.workspace.tokens.sets :refer [sets-list]]
|
|
||||||
[app.util.dom :as dom]
|
[app.util.dom :as dom]
|
||||||
[cuerdas.core :as str]
|
[cuerdas.core :as str]
|
||||||
[okulary.core :as l]
|
[okulary.core :as l]
|
||||||
|
|
Loading…
Reference in a new issue