mirror of
https://github.com/penpot/penpot.git
synced 2025-05-30 16:06:10 +02:00
✨ Use better default for svgo on frontend code
This commit is contained in:
parent
a8ab883c07
commit
db622cece8
1 changed files with 1 additions and 12 deletions
|
@ -39,18 +39,7 @@
|
||||||
|
|
||||||
(def ^:private svgo-config
|
(def ^:private svgo-config
|
||||||
{:multipass false
|
{:multipass false
|
||||||
:plugins
|
:plugins ["safeAndFastPreset"]})
|
||||||
[{:name "safePreset"
|
|
||||||
:params {:overrides
|
|
||||||
{:convertColors
|
|
||||||
{:names2hex true
|
|
||||||
:shorthex false
|
|
||||||
:shortname false}
|
|
||||||
:convertTransform
|
|
||||||
{:matrixToTransform false
|
|
||||||
:convertToShorts false
|
|
||||||
:transformPrecision 4
|
|
||||||
:leadingZero false}}}}]})
|
|
||||||
|
|
||||||
(defn svg->clj
|
(defn svg->clj
|
||||||
[[name text]]
|
[[name text]]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue