sketch-hq/sketch-assistant-core-rules

Implement styles-no-unused rule

jedrichards opened this issue · 4 comments

Seems no way to remove unused styles in the UI, so putting this rule on hold.

There's a menu item in LayerStyleRemove unused Styles (see below) and the component panel allows deleting layer and text styles. Though I'm not sure why it's disabled in my case since the document includes such styles.

Sketch – Remove unused styles

Aha, ok. In my tests Remove unused Styles had no effect. Managing styles from the components panel works though.

Ok, interesting. @hamishmcneill does Remove unused Styles actually work as expected?