unused-style-remover icon indicating copy to clipboard operation
unused-style-remover copied to clipboard

Layer style overrides treated as unused styles

Open avkvirtru opened this issue 6 years ago • 5 comments

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.

avkvirtru avatar Feb 26 '19 19:02 avkvirtru

I'm also running in to this issue

jordanborth avatar May 03 '19 00:05 jordanborth

yup, having the same issue which unfortunately makes this plugin unusable.

stdk00 avatar May 03 '19 10:05 stdk00

I'm not sure, it might be related. I have a Layer Style which is "transparent", I use it to override (turn off) some Layer Styles inside the Symbols and it is listed as "unused" style. Not sure if because it is only used as override or because it doesn't have a fill or a border.

mariuszmickiewicz avatar Jun 17 '19 13:06 mariuszmickiewicz

Same issue here, a fix would be greatly appreciated!

janospower avatar Oct 25 '19 03:10 janospower

Same here. No plans for fixing it? It really makes it unuseable.

appscaptain avatar Nov 12 '19 15:11 appscaptain