Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
SVGo Sketch Plugin Configuration
{
"comment": "This is the settings file for the SVGO Compressor Plugin. For more info, please check <https://github.com/BohemianCoding/svgo-compressor>",
"pretty": true,
"indent": 2,
"floatPrecision": 3,
"plugins": [
{
"name": "removeDoctype",
"enabled": true
},
{
"name": "removeXMLProcInst",
"enabled": true
},
{
"name": "removeComments",
"enabled": true
},
{
"name": "removeMetadata",
"enabled": true
},
{
"name": "removeXMLNS",
"enabled": false
},
{
"name": "removeEditorsNSData",
"enabled": true
},
{
"name": "cleanupAttrs",
"enabled": true
},
{
"name": "inlineStyles",
"enabled": false
},
{
"name": "minifyStyles",
"enabled": true
},
{
"name": "convertStyleToAttrs",
"enabled": true
},
{
"name": "cleanupIDs",
"enabled": true
},
{
"name": "prefixIds",
"enabled": false
},
{
"name": "removeRasterImages",
"enabled": false
},
{
"name": "removeUselessDefs",
"enabled": true
},
{
"name": "cleanupNumericValues",
"enabled": true
},
{
"name": "cleanupListOfValues",
"enabled": true
},
{
"name": "convertColors",
"enabled": true
},
{
"name": "removeUnknownsAndDefaults",
"enabled": true
},
{
"name": "removeNonInheritableGroupAttrs",
"enabled": true
},
{
"name": "removeUselessStrokeAndFill",
"enabled": true
},
{
"name": "removeViewBox",
"enabled": false
},
{
"name": "cleanupEnableBackground",
"enabled": false
},
{
"name": "removeHiddenElems",
"enabled": false
},
{
"name": "removeEmptyText",
"enabled": true
},
{
"name": "convertShapeToPath",
"enabled": false
},
{
"name": "moveElemsAttrsToGroup",
"enabled": false
},
{
"name": "moveGroupAttrsToElems",
"enabled": false
},
{
"name": "collapseGroups",
"enabled": true
},
{
"name": "convertPathData",
"enabled": false
},
{
"name": "convertTransform",
"enabled": true
},
{
"name": "removeEmptyAttrs",
"enabled": true
},
{
"name": "removeEmptyContainers",
"enabled": true
},
{
"name": "mergePaths",
"enabled": true
},
{
"name": "removeUnusedNS",
"enabled": true
},
{
"name": "sortAttrs",
"enabled": true
},
{
"name": "removeTitle",
"enabled": true
},
{
"name": "removeDesc",
"enabled": true,
"params": {
"removeAny": true
}
},
{
"name": "removeDimensions",
"enabled": false
},
{
"name": "removeAttrs",
"params": {
"attrs": ["fill", "color", "width", "height"]
}
},
{
"name": "removeElementsByAttr",
"enabled": false
},
{
"name": "addClassesToSVGElement",
"enabled": false
},
{
"name": "removeStyleElement",
"enabled": false
},
{
"name": "removeScriptElement",
"enabled": false
},
{
"name": "addAttributesToSVGElement",
"params": {
"attribute": {
"fill": "currentColor"
}
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.