mirror of
https://github.com/penpot/penpot.git
synced 2025-08-06 07:38:31 +02:00
🎉 Autocomplete color fields
This commit is contained in:
parent
9e39e53488
commit
c16434e608
10 changed files with 177 additions and 37 deletions
|
@ -22,6 +22,10 @@
|
|||
(let [result (get obj k)]
|
||||
(if (undefined? result) default result))))
|
||||
|
||||
(defn get-keys
|
||||
[obj]
|
||||
(js/Object.keys ^js obj))
|
||||
|
||||
(defn get-in
|
||||
[obj keys]
|
||||
(loop [key (first keys)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue