mirror of
https://github.com/penpot/penpot.git
synced 2026-02-12 14:42:56 +00:00
🐛 Set correct name to tokens lib data reader
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
penpot/path-data app.common.types.path/from-string
|
||||
penpot/matrix app.common.geom.matrix/decode-matrix
|
||||
penpot/point app.common.geom.point/decode-point
|
||||
penpot/token-lib app.common.types.tokens-lib/parse-multi-set-dtcg-json
|
||||
penpot/tokens-lib app.common.types.tokens-lib/parse-multi-set-dtcg-json
|
||||
penpot/token-set app.common.types.tokens-lib/make-token-set
|
||||
penpot/token-theme app.common.types.tokens-lib/make-token-theme
|
||||
penpot/token app.common.types.tokens-lib/make-token}
|
||||
|
||||
@@ -1320,7 +1320,7 @@ Will return a value that matches this schema:
|
||||
|
||||
(defmethod pp/simple-dispatch TokensLib
|
||||
[^TokensLib obj]
|
||||
(.write *out* "#penpot/token-lib ")
|
||||
(.write *out* "#penpot/tokens-lib ")
|
||||
(pp/pprint-newline :miser)
|
||||
(pp/pprint (export-dtcg-json obj)))
|
||||
|
||||
@@ -1328,7 +1328,7 @@ Will return a value that matches this schema:
|
||||
(do
|
||||
(defmethod print-method TokensLib
|
||||
[^TokensLib obj ^java.io.Writer w]
|
||||
(.write w "#penpot/token-lib ")
|
||||
(.write w "#penpot/tokens-lib ")
|
||||
(print-method (export-dtcg-json obj) w))
|
||||
|
||||
(defmethod print-dup TokensLib
|
||||
@@ -1339,7 +1339,7 @@ Will return a value that matches this schema:
|
||||
(extend-type TokensLib
|
||||
cljs.core/IPrintWithWriter
|
||||
(-pr-writer [this writer opts]
|
||||
(-write writer "#penpot/token-lib ")
|
||||
(-write writer "#penpot/tokens-lib ")
|
||||
(-pr-writer (export-dtcg-json this) writer opts))
|
||||
|
||||
cljs.core/IEncodeJS
|
||||
|
||||
Reference in New Issue
Block a user