mirror of
https://github.com/penpot/penpot.git
synced 2025-02-01 03:49:22 -05:00
Rename
This commit is contained in:
parent
ffe2abc992
commit
f2c6109dd9
2 changed files with 3 additions and 3 deletions
|
@ -268,7 +268,7 @@
|
|||
(delete-token [_ token-name] "delete a token from the list")
|
||||
(get-token [_ token-name] "return token by token-name")
|
||||
(get-tokens [_] "return an ordered sequence of all tokens in the set")
|
||||
(get-set-path [_] "returns name of set converted to the path with prefix identifiers")
|
||||
(get-set-prefixed-path-string [_] "convert set name to prefixed full path string")
|
||||
(get-tokens-tree [_] "returns a tree of tokens split & nested by their name path")
|
||||
(get-dtcg-tokens-tree [_] "returns tokens tree formated to the dtcg spec"))
|
||||
|
||||
|
@ -317,7 +317,7 @@
|
|||
(get-tokens [_]
|
||||
(vals tokens))
|
||||
|
||||
(get-set-path [_]
|
||||
(get-set-prefixed-path-string [_]
|
||||
(set-name->prefixed-set-name name))
|
||||
|
||||
(get-tokens-tree [_]
|
||||
|
|
|
@ -41,7 +41,7 @@
|
|||
(some-> (get-workspace-tokens-lib state)
|
||||
(ctob/get-sets)
|
||||
(first)
|
||||
(ctob/get-set-path))))
|
||||
(ctob/get-set-prefixed-path-string))))
|
||||
|
||||
(defn get-selected-token-set-node [state]
|
||||
(when-let [path (some-> (get-selected-token-set-id state)
|
||||
|
|
Loading…
Add table
Reference in a new issue