How do I find unused css styles

This forum is for all Flare issues related to styles, stylesheets and XML.
Post Reply
gable
Jr. Propeller Head
Posts: 3
Joined: Mon Aug 15, 2022 6:18 am

How do I find unused css styles

Post by gable »

I have a Flare project I am trying to clean-up. It has way too many css styles that are not used or linked to anything. What are the steps to show me how to see what css styles are not being used? I think you can create a report... but I don't know how to do this.

Thank you!
robdocsmith
Sr. Propeller Head
Posts: 248
Joined: Thu May 24, 2018 3:11 pm
Location: Queensland, Australia

Re: How do I find unused css styles

Post by robdocsmith »

Yes, out of the box Flare has an Unused Styles report. You can find it by choosing Analysis -> More Reports -> Unused Items and then in the drop down at the top choosing Unused Styles. That drop down isn't immediately obvious to me and often overlook the selector, but it provides a bunch of good reports of finding stuff no longer used.

Cheers,
Rob
Post Reply