mirror of
https://github.com/penpot/penpot.git
synced 2026-09-08 21:19:49 +00:00
🐛 Add mime-type otf to color picker
This commit is contained in:
parent
8850fd8894
commit
db7ed75a91
@ -10,7 +10,7 @@
|
|||||||
[cuerdas.core :as str]))
|
[cuerdas.core :as str]))
|
||||||
|
|
||||||
;; We have added ".ttf" as string to solve a problem with chrome input selector
|
;; 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 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-image-types (str/join "," valid-image-types))
|
||||||
(def str-font-types (str/join "," valid-font-types))
|
(def str-font-types (str/join "," valid-font-types))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user