🐛 Set correct name to tokens lib data reader

This commit is contained in:
Andrey Antukh
2025-10-13 17:22:40 +02:00
parent 3122917872
commit d3e28a8307
2 changed files with 4 additions and 4 deletions

View File

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

View File

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