0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-10 08:50:57 -05:00

Merge branch 'akshay-gupta7-akshayg7-typography-palette-order' into develop

This commit is contained in:
Alejandro Alonso 2023-04-24 07:44:06 +02:00
commit a658493ac5
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)