Skip to content

Commit

Permalink
add plugin to repo
Browse files Browse the repository at this point in the history
  • Loading branch information
Antoine Moreaux committed Jan 3, 2018
1 parent 01bf413 commit 98aa991
Show file tree
Hide file tree
Showing 11 changed files with 81,869 additions and 2 deletions.
71 changes: 71 additions & 0 deletions Sketch Icons.sketchplugin/Contents/Resources/.svgo.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
# replace default config

# multipass: true
# full: true

plugins:

# - name
#
# or:
# - name: false
# - name: true
#
# or:
# - name:
# param1: 1
# param2: 2

- removeDoctype
- removeXMLProcInst
- removeComments
- removeMetadata
- removeXMLNS
- removeEditorsNSData
- cleanupAttrs: true
- inlineStyles
- minifyStyles
- convertStyleToAttrs
- cleanupIDs
- prefixIds
- removeRasterImages
- removeUselessDefs
- cleanupNumericValues
- cleanupListOfValues
- convertColors
- removeUnknownsAndDefaults
# - removeNonInheritableGroupAttrs: true
- removeViewBox
# - cleanupEnableBackground: true
- removeHiddenElems: true
- removeEmptyText
- removeEmptyRect: true
# - collapseGroups: true
- convertShapeToPath: true
- moveElemsAttrsToGroup
- moveGroupAttrsToElems: true
- convertPathData: true
- convertTransform: true
- removeEmptyAttrs: true
- removeEmptyContainers: true
- mergePathsOverride: true
- mergePaths: true
- removeUnusedNS
- sortAttrs
- removeTitle
- removeDesc
- removeDimensions
- removeAttrs: true
- removeElementsByAttr
- addClassesToSVGElement
- removeStyleElement
- removeScriptElement
- addAttributesToSVGElement

# configure the indent (default 4 spaces) used by `--pretty` here:
#
# @see https://github.com/svg/svgo/blob/master/lib/svgo/js2svg.js#L6 for more config options
#
# js2svg:
# pretty: true
# indent: ' '
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 98aa991

Please sign in to comment.