0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-10 14:51:37 -05:00

Changed config for svgclean

This commit is contained in:
alonso.torres 2021-02-23 10:11:43 +01:00 committed by Andrey Antukh
parent 19febde547
commit 23d531a664
4 changed files with 5 additions and 5 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -151,7 +151,7 @@
:points points}
(assoc :svg-viewbox (select-keys selrect [:x :y :width :height]))
(assoc :svg-attrs (dissoc attrs :d :transform))
(gsh/translate-to-frame svg-data))))
#_(gsh/translate-to-frame svg-data))))
(defn create-group [name frame-id svg-data {:keys [attrs]}]
(let [{:keys [x y width height]} svg-data]

View file

@ -25,7 +25,7 @@ const plugins = [
'inlineStyles',
'minifyStyles',
// 'convertStyleToAttrs'
'cleanupIDs',
// 'cleanupIDs',
// 'prefixIds',
// 'removeRasterImages',
// 'removeUselessDefs',
@ -43,7 +43,7 @@ const plugins = [
'convertEllipseToCircle',
// 'moveElemsAttrsToGroup',
'moveGroupAttrsToElems',
'collapseGroups',
// 'collapseGroups',
{'convertPathData': {
'lineShorthands': false,
'curveSmoothShorthands': false,