🎉 Update Typography palette order

This commit is contained in:
Akshay Gupta 2023-04-22 18:11:48 +05:30 committed by Alejandro Alonso
parent bef9bbaa6a
commit eaaeef2335
2 changed files with 3 additions and 2 deletions

View file

@ -68,8 +68,8 @@
current-typographies
(case @selected
:recent []
:file (vals file-typographies)
(vals (get-in shared-libs [@selected :data :typographies])))
:file (sort-by #(str/lower (:name %)) (vals file-typographies))
(sort-by #(str/lower (:name %)) (vals (get-in shared-libs [@selected :data :typographies]))))
container (mf/use-ref nil)