Add recent used fonts in font selection widget

This commit is contained in:
Eva 2022-02-01 12:55:51 +01:00 committed by Andrey Antukh
parent 37f4b83d96
commit a2c3b0926b
5 changed files with 57 additions and 9 deletions

View file

@ -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)]