mirror of
https://github.com/penpot/penpot.git
synced 2026-02-13 07:02:58 +00:00
🎉 Add microsoft variant of woff mimetype on the fonts selection dialog
This commit is contained in:
committed by
Andrey Antukh
parent
29550add6c
commit
80cfe6df9d
@@ -9,7 +9,7 @@
|
||||
[clojure.spec.alpha :as s]
|
||||
[cuerdas.core :as str]))
|
||||
|
||||
(def valid-font-types #{"font/ttf" "font/woff", "font/otf"})
|
||||
(def valid-font-types #{"font/ttf" "font/woff", "application/font-woff", "font/otf"})
|
||||
(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))
|
||||
|
||||
Reference in New Issue
Block a user