Community forum for knowledge and support

Updated 6 months ago

Cleaning up Styles

At a glance

The community member is asking about how to handle cleaning up styles, as they are about to delete a bunch of Client-first style guide styles. Another community member responds that the clean up tool should work fine, and suggests keeping the style guide page intact to ensure no classes disappear. They also recommend storing any unused classes on the style guide page to prevent them from being deleted during the clean up process. The original poster then thanks the other community member, indicating they were just confusing themselves.

Hey guys how do you handle cleaning up styles? It seems I'll be deleting a bunch of the Client-first style guide styles if I just go in and delete...

M
J
2 comments

hmm you should be able to use the clean up tool just fine - I use it all the time - many many times throughout a project. If you are seeing CF classes it means you dont have them stored on the style guide page anymore. I would keep the style guide page intact as it was when you cloned it to ensure that no classes disappear.

If you want to "keep" a class that you create but maybe its not being used - just store it on the style guide page and when you go to clean up unused styles, it will not be included.

Ah, thanks Matt. I was just confusing myself πŸ™

Add a reply
Sign up and join the conversation on Slack