DrupalCon Amsterdam 2014: Managing Complex Projects With Design Components
Channel: Drupal Association
Date: 01/10/2014

Speakers: JohnAlbin
Our CSS sucks. We've been building sites for over a decade using crappy, ornamentation techniques and shoddy selectors. Our styles unintentional bleed across the site. Our stylesheets are fragile and unmaintainable and full of specificity landmines. Pandas wander alone in the wilderness.

But there's no need to drown ourselves in beer. New technologies like Web Components and new techniques like OOCSS, SMACSS and BEM show us that planning before building can make our projects maintainable, easier to debug, and smaller with reduced CSS file sizes.

This session will introduce the basic techniques for CSS layering and using design components, the heart of any front-end CSS project. We will also discuss Sass project organization, Sass version control with Bundler and tricks to implement components when you can't change Drupal's classes. Finally, we will go through the steps necessary to automatically generate a front-end style guide to document your components.