As presented at DrupalCamp Michigan, January 2015 Presented by Brad Czerniak The benefits of a simply-coded, well-structured theme are obvious: maintainability, performance, self-esteem, and more. This session is an opinionated overview of theming best practices. Templates and helper modules Using blockify, field formatters, entity view modes, and other available tools allows your templates directory to be manageable and your template.php to focus on getting important things done. Speaking of template.php, I'll demonstrate some reusable functions for adding utility classes that can come in handy in your stylesheets. CSS Whether you use a preprocessor or plain-old CSS, you can probably get away with fewer files and a smaller payload. I will spend a decent amount of time talking about why everything that everybody else does in their CSS is completely wrong, leaving you with a general idea of how to quikcly write CSS that accomplishes your business goals. Resource payload There are tons of ways to deliver fonts, images, icons, and other front-end bits to your pages. I'll explain the best way to do it in specific instances -- including a slick way to do social icons.