diff --git a/CHANGES.md b/CHANGES.md index 23f906325c..8f4c0be159 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -38,6 +38,7 @@ - Fix incorrect handling of input values on layout gap and padding inputs [Github #8113](https://github.com/penpot/penpot/issues/8113) - Fix several race conditions on path editor [Github #8187](https://github.com/penpot/penpot/pull/8187) - Fix app freeze when introducing an error on a very long token name [Taiga #13214](https://tree.taiga.io/project/penpot/issue/13214) +- Fix import a file with shadow tokens [Taiga #13229](https://tree.taiga.io/project/penpot/issue/13229) ## 2.12.1 diff --git a/common/src/app/common/types/tokens_lib.cljc b/common/src/app/common/types/tokens_lib.cljc index 5e278588a7..248997a259 100644 --- a/common/src/app/common/types/tokens_lib.cljc +++ b/common/src/app/common/types/tokens_lib.cljc @@ -1462,11 +1462,12 @@ Will return a value that matches this schema: (def ^:private schema:dtcg-node [:schema {:registry {::simple-value - [:or :string :int :double] + [:or :string :int :double ::sm/boolean] ::value [:or [:ref ::simple-value] [:vector ::simple-value] + [:vector [:map-of :string ::simple-value]] [:map-of :string [:or [:ref ::simple-value] [:vector ::simple-value]]]]}}