From d3e28a830778f16d9310305d564a32761bc5b6ec Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Mon, 13 Oct 2025 17:22:40 +0200 Subject: [PATCH] :bug: Set correct name to tokens lib data reader --- backend/src/data_readers.clj | 2 +- common/src/app/common/types/tokens_lib.cljc | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/backend/src/data_readers.clj b/backend/src/data_readers.clj index e32d7c506c..dd94d1aae7 100644 --- a/backend/src/data_readers.clj +++ b/backend/src/data_readers.clj @@ -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} diff --git a/common/src/app/common/types/tokens_lib.cljc b/common/src/app/common/types/tokens_lib.cljc index 572669fa12..df7aa38cf2 100644 --- a/common/src/app/common/types/tokens_lib.cljc +++ b/common/src/app/common/types/tokens_lib.cljc @@ -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