mirror of
https://github.com/penpot/penpot.git
synced 2025-06-09 17:11:46 +02:00
Take tokens as ref
This commit is contained in:
parent
8f852bf48f
commit
622843f18d
2 changed files with 16 additions and 12 deletions
|
@ -230,6 +230,12 @@
|
|||
(def workspace-data
|
||||
(l/derived :workspace-data st/state))
|
||||
|
||||
(def workspace-tokens
|
||||
(l/derived (fn [data]
|
||||
(get data :tokens []))
|
||||
workspace-data
|
||||
=))
|
||||
|
||||
(def workspace-file-colors
|
||||
(l/derived (fn [data]
|
||||
(when data
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue