I’m developing a WordPress theme framework. I want organize CSS for each section into separate files for the following reasons.
- Developers can easily deregister styles by parent theme and load their own styles.
- Easy to maintain.
- I can load only the required styles based on the options selected by the user.
Disadvantages
Extra http requests => more load on the server.
This disadvantage can be taken care by combining all the CSS files before they are served to the user using plugins like wp-minify.
But, will this combining process out weigh the above advantages.