Giter Site home page Giter Site logo

unused-style-remover's Introduction

Unused Style Remover

Remove unused layer and text styles.

Unused Style Remover

runner-badge-blue

Usage

  • cmd option shift u - Remove unused layer and text styles

Installation

Automatic

Search for Unused Style Remover in Sketchrunner, Sketchpacks, or Sketch Toolbox if you have one of those installed.

Once installed, Sketch will automatically notify you when an update is available (version 0.1 and later).

Manual

  1. Download and open unused-style-remover-master.zip
  2. Navigate to Unused Style Remover.sketchplugin and copy/move to your plugins directory

To find your plugins directory...

  1. In the Sketch menu, navigate to Plugins > Manage Plugins...
  2. Click the cog in the lower left of the plugins window, and click Reveal Plugins Folder

Changelog

  • 0.5 - Fixes for Sketch 53.
  • 0.4 - Fixes for Sketch 52.
  • 0.3 - Added plugin icon to manifest for Sketch 50.
  • 0.2 - Added section checkboxes, parameterized strings, and improved empty states.
  • 0.1 - Initial commit.

Contact

Find me on Twitter @sonburn

Support

If you find this plugin helpful, or would like to support my plugins in general, buy me โ˜•๏ธ via PayPal.

License

Copyright (c) 2019 Jason Burns (Sonburn). See LICENSE.md for further details.

unused-style-remover's People

Contributors

lmjabreu avatar sonburn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

unused-style-remover's Issues

Removes all layer styles

Plug in works great with text styles but it deletes all layer styles, it doesn't matter if they are in use or not.

Layer style overrides treated as unused styles

Hey @sonburn, thanks for another handy plugin.

I noticed that if I use a layer style only as an override (and not anywhere else in my Sketch file), it is treated as an unused style. Is this intentional? Is there any way to detect styles as overrides and treat them as used? I ask on behalf of an emerging and increasingly complicated design system.

used styles are removed!

Latest version of Sketch.
I used the plugin and a bunch of styles that were in use were removed

Removes all the styles in use and not in use

I have used this plug-in for some time and it seemed to have worked just fine. After updating to the latest version of Sketch I have noticed that when using this tool, it actually clears all the styles found in the document, whether they are in use or not. Thankfully I have realised the problem soon enough to undo the action, or I would have lost all the text styles created for the App. Thought I let you know about this. Thank you, GR

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.