So are you saying a possible plugin to "merge" stylesheets might be useful?
Does it work on all selectors or only class selectors? How does it treat element selectors that differ across the sheets?
Hmm ... it would also need to:
- split all selector lists out
- find all styles/selectors with identical property value lists and assign them a common class name
- make sure the selectors for unique styles are themselves unique.
- create a class name mapping to fix up the assigned classes in all html files
Anything else?
Last edited by KevinH; 09-21-2021 at 07:03 PM.
|