mirror of
https://github.com/penpot/penpot.git
synced 2025-03-18 10:41:29 -05: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
|
||||
{:multipass false
|
||||
:plugins
|
||||
[{:name "safePreset"
|
||||
:params {:overrides
|
||||
{:convertColors
|
||||
{:names2hex true
|
||||
:shorthex false
|
||||
:shortname false}
|
||||
:convertTransform
|
||||
{:matrixToTransform false
|
||||
:convertToShorts false
|
||||
:transformPrecision 4
|
||||
:leadingZero false}}}}]})
|
||||
:plugins ["safeAndFastPreset"]})
|
||||
|
||||
(defn svg->clj
|
||||
[[name text]]
|
||||
|
|
Loading…
Add table
Reference in a new issue