🐛 Fix incorrect declaration of tokens lib schema decoder

This commit is contained in:
Andrey Antukh 2025-06-03 18:30:22 +02:00
parent 3a8b312f6d
commit 29ad99d685
2 changed files with 2 additions and 1 deletions

View file

@ -157,7 +157,7 @@
(sm/decoder ::cty/typography sm/json-transformer))
(def decode-tokens-lib
(sm/decoder ::cto/tokens-lib sm/json-transformer))
(sm/decoder cto/schema:tokens-lib sm/json-transformer))
(def decode-plugin-data
(sm/decoder ::ctpg/plugin-data sm/json-transformer))

View file

@ -796,6 +796,7 @@ Will return a value that matches this schema:
(declare parse-multi-set-dtcg-json)
(declare export-dtcg-json)
(deftype TokensLib [sets themes active-themes]
;; NOTE: This is only for debug purposes, pending to properly
;; implement the toString and alternative printing.