mirror of
https://github.com/penpot/penpot.git
synced 2025-07-16 11:25:15 +02:00
Merge remote-tracking branch 'origin/staging' into develop
This commit is contained in:
commit
0df2a12814
3 changed files with 12 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue