🎉 Color picker integration with library

This commit is contained in:
alonso.torres 2020-09-04 12:03:14 +02:00 committed by Andrey Antukh
parent 12a2b35b28
commit ab7fee50ea
9 changed files with 313 additions and 146 deletions

View file

@ -99,6 +99,12 @@
(get-in file [:data :colors])))
st/state))
(def workspace-recent-colors
(l/derived (fn [state]
(when-let [file (:workspace-file state)]
(get-in file [:data :recent-colors])))
st/state))
(def workspace-project
(l/derived :workspace-project st/state))