diff --git a/CHANGES.md b/CHANGES.md index e4ef5ff3f..76fb3e0a9 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -107,6 +107,7 @@ A non exhaustive list of changes: ### :bug: Bugs fixed +- Fix "at" icon to match all icons on app [Taiga #11136](https://tree.taiga.io/project/penpot/issue/11136) - Fix problem in viewer with the back button [Taiga #10907](https://tree.taiga.io/project/penpot/issue/10907) - Fix resize bar background on tokens panel [Taiga #10811](https://tree.taiga.io/project/penpot/issue/10811) - Fix shortcut for history version panel [Taiga #11006](https://tree.taiga.io/project/penpot/issue/11006) @@ -139,6 +140,7 @@ A non exhaustive list of changes: - Fix share button being displayed with no permissions [Taiga #11086](https://tree.taiga.io/project/penpot/issue/11086) - Fix inline styles in code tab [Taiga Issue #7583](https://tree.taiga.io/project/penpot/issue/7583) - Fix exception on returning openapi.json +- Fix json encoding of TokensLib [Taiga #10994](https://tree.taiga.io/project/penpot/issue/10994) ## 2.6.2 diff --git a/common/src/app/common/types/tokens_lib.cljc b/common/src/app/common/types/tokens_lib.cljc index 3e64e51f3..6140c8b9a 100644 --- a/common/src/app/common/types/tokens_lib.cljc +++ b/common/src/app/common/types/tokens_lib.cljc @@ -7,6 +7,7 @@ (ns app.common.types.tokens-lib (:require #?(:clj [app.common.fressian :as fres]) + #?(:clj [clojure.data.json :as json]) [app.common.data :as d] [app.common.data.macros :as dm] [app.common.files.helpers :as cfh] @@ -932,6 +933,12 @@ Will return a value that matches this schema: "themes" (clj->js themes) "active-themes" (clj->js active-themes)))]) + + #?@(:clj + [json/JSONWriter + (-write [this writter options] (json/-write (encode-dtcg this) writter options))]) + + ITokenSets (add-set [_ token-set] (let [path (get-token-set-prefixed-path token-set) diff --git a/frontend/resources/images/icons/at.svg b/frontend/resources/images/icons/at.svg index 72e5ff01d..954c6be2a 100644 --- a/frontend/resources/images/icons/at.svg +++ b/frontend/resources/images/icons/at.svg @@ -1 +1,3 @@ - + + + \ No newline at end of file