diff --git a/CHANGES.md b/CHANGES.md index c72e2f6664..636c7529a9 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -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 diff --git a/frontend/src/app/main/ui/workspace/textpalette.cljs b/frontend/src/app/main/ui/workspace/textpalette.cljs index fac5ce536a..111cf09a4b 100644 --- a/frontend/src/app/main/ui/workspace/textpalette.cljs +++ b/frontend/src/app/main/ui/workspace/textpalette.cljs @@ -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)