Add support for colors and typographies

This commit is contained in:
alonso.torres 2024-05-30 14:34:08 +02:00 committed by Andrey Antukh
parent d4a0541926
commit 3209511557
4 changed files with 242 additions and 47 deletions

View file

@ -86,14 +86,14 @@
(let [file-id (obj/get proxy "$file")
id (obj/get proxy "$id")]
(when (and (some? file-id) (some? id))
(locate-library-color file-id id))))
(locate-library-typography file-id id))))
(defn proxy->library-component
[proxy]
(let [file-id (obj/get proxy "$file")
id (obj/get proxy "$id")]
(when (and (some? file-id) (some? id))
(locate-library-color file-id id))))
(locate-library-component file-id id))))
(defn get-data
([self attr]