mirror of
https://github.com/penpot/penpot.git
synced 2025-04-06 20:11:29 -05:00
🐛 Add mime-type otf to color picker
This commit is contained in:
parent
8850fd8894
commit
db7ed75a91
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@
|
|||
[cuerdas.core :as str]))
|
||||
|
||||
;; We have added ".ttf" as string to solve a problem with chrome input selector
|
||||
(def valid-font-types #{"font/ttf", ".ttf", "font/woff", "application/font-woff", "font/otf"})
|
||||
(def valid-font-types #{"font/ttf" ".ttf" "font/woff", "application/font-woff" "woff" "font/otf" ".otf" "font/opentype"})
|
||||
(def valid-image-types #{"image/jpeg", "image/png", "image/webp", "image/gif", "image/svg+xml"})
|
||||
(def str-image-types (str/join "," valid-image-types))
|
||||
(def str-font-types (str/join "," valid-font-types))
|
||||
|
|
Loading…
Add table
Reference in a new issue