Audit Your Theme

andrewozone

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.

Attendees will learn how to:

  • Analyze your theme’s structure and size.
  • Use CSS analysis tools Parker and Analyze CSS
  • Use Lint for your SASS and JavaScript.
  • Refactor with BEM or SMACCS.
  • Place metrics in your theme.

 

Program tags

css, front end development, javascript

Experience Level

Intermediate

Drupal Version