GithubHelp home page GithubHelp logo

alexxnica / svgo-compressor Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sketch-hq/svgo-compressor

0.0 1.0 0.0 237 KB

A Plugin that compresses SVG assets using SVGO, right when you export them. This Plugin requires Sketch 3.8.

License: MIT License

JavaScript 100.00%

svgo-compressor's Introduction

SVGO Compressor

A Plugin that compresses SVG assets using SVGO, right when you export them. This Plugin requires Sketch 3.8.

Install

  • Download SVGO Compressor & unzip it.
  • Double click SVGO Compressor.sketchplugin to install the Plugin.

Usage

Selecting menu items or hitting keys is out of fashion, so SVGO Compressor will compress your SVG assets whenever you export them, without you having to do anything.

You’ll get a message on your document window showing some stats about the process to let you know the compression worked as expected.

If you want your SVG assets uncompressed, you can temporarily disable the Plugin by opening Sketch’s Preferences › Plugins and unchecking 'SVGO Compressor'. Alternatively, you can right-click any layer and select Copy SVG Code, and that will give you the original, uncompressed code.

Editing Settings

If for some reason you’re not happy with the default settings we’ve chosen, you can select Plugins › SVGO Compressor › About SVGO Compressor and then click the Edit SVGO Settings… button. You default editor will open the svgo.json file, where you’ll be able to tweak the settings.

For an explanation of what each SVGO Plugin does, please refer to the SVGO page on GitHub.

Acknowledgements

We would like to thank:

Support & feedback

We’ve done our best to make the Plugin useful & usable, but we know there’s always room for improvement. If you have any question or want to share your feedback, we’d love to hear it. Either file an issue, or get in touch with us at [email protected]

svgo-compressor's People

Contributors

bomberstudios avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.