0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-15 17:21:17 -05:00

🎉 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

@ -14,6 +14,7 @@
### :arrow_up: Deps updates
### :heart: Community contributions by (Thank you!)
- Update Typography palette order #3156 (by @akshay-gupta7) [#3156](https://github.com/penpot/penpot/pull/3156)
## 1.18.3

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)