Go to content

DrupalCon Seattle 2019: Audit Your Theme

Themes can become a beast. Over time, features get added and new patterns get introduced. Tight deadlines may also cause you to make inefficient decisions with the desire to one day go back and refactor. There are also times you will inherit a project built by another team and need to understand how to add on and reduce duplication. How do you size up a theme to ensure you are efficient and not growing out of proportion? In this session we will explore tools and methodologies that provide insight to keep your theme manageable over time. We also introduce concepts to establish metrics within your theme to keep a pulse on how it grows over time. Attendees will learn how to: Analyze your theme’s structure and size. Use CSS analysis tools Parker, Analyze CSS and Project Wallace. Use Lint for your SASS and JavaScript. Refactor and take action based on information from these tools. Place metrics within your theme.

April 8, 2019