mirror of
https://github.com/penpot/penpot.git
synced 2025-08-04 03:08:29 +02:00
✨ Update colors and typographies inside components
This commit is contained in:
parent
b97bbd10f0
commit
272d023f3c
3 changed files with 116 additions and 154 deletions
|
@ -20,9 +20,10 @@
|
|||
(update data :pages-index #(d/mapm f %)))
|
||||
|
||||
(defn select-objects
|
||||
"Get a list of all objects in a page that satisfy a condition"
|
||||
[f page]
|
||||
(filter f (vals (get page :objects))))
|
||||
"Get a list of all objects in a container (a page or a component) that
|
||||
satisfy a condition"
|
||||
[f container]
|
||||
(filter f (vals (get container :objects))))
|
||||
|
||||
(defn update-object-list
|
||||
"Update multiple objects in a page at once"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue