issues
search
Myoldmopar
/
Cait.Rocks
Web site for managing our recipes
0
stars
0
forks
source link
CSS Cleanup Tool
#144
Open
Myoldmopar
opened
6 years ago
Myoldmopar
commented
6 years ago
Could be a management command...yeah probably so.
Two arguments:
Path to templates folder (can be in subdirectories)
Path to css folder (can be in subdirectories)
Loops over all the templates, and identifies all the ids, classes, and any stray style definitions
Loops over the css, and identifies all the selectors
Reports out which classes are in multiple templates vs just one, same with ids
Reports stray style definitions
Yeah, this kinda feels bigger than just a ticket in this repo...but it could start here.
Could be a management command...yeah probably so.