mirror of
https://github.com/penpot/penpot.git
synced 2025-08-06 05:28:28 +02:00
✨ Add recent used fonts in font selection widget
This commit is contained in:
parent
37f4b83d96
commit
a2c3b0926b
5 changed files with 57 additions and 9 deletions
|
@ -188,6 +188,11 @@
|
|||
(get-in state [:workspace-data :recent-colors] []))
|
||||
st/state))
|
||||
|
||||
(def workspace-recent-fonts
|
||||
(l/derived (fn [state]
|
||||
(get-in state [:workspace-data :recent-fonts] []))
|
||||
st/state))
|
||||
|
||||
(def workspace-file-typography
|
||||
(l/derived (fn [state]
|
||||
(when-let [file (:workspace-data state)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue