0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-24 15:39:50 -05:00

🐛 Add missing "solid" font-weight parsing style.

Related issue: #1338
This commit is contained in:
Andrey Antukh 2021-11-25 11:28:13 +01:00 committed by Andrés Moya
parent 54f8487b46
commit e7a1833c44

View file

@ -78,7 +78,7 @@
(re-seq #"(?i)(?:extra\s*bold|ultra\s*bold)" variant) 800
(re-seq #"(?i)(?:bold)" variant) 700
(re-seq #"(?i)(?:extra\s*black|ultra\s*black)" variant) 950
(re-seq #"(?i)(?:black|heavy)" variant) 900
(re-seq #"(?i)(?:black|heavy|solid)" variant) 900
:else 400))
(defn parse-font-style