mirror of
https://github.com/penpot/penpot.git
synced 2025-06-27 12:47:01 +02:00
✨ Add support for colors and typographies
This commit is contained in:
parent
d4a0541926
commit
3209511557
4 changed files with 242 additions and 47 deletions
|
@ -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]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue