Chasing The Dream of Style Guide Driven Development in Drupal 8
summary
Style guide driven workflow that generates a living style guide from real Sass and Twig components, using KSS + Grunt to auto-build and preview a documented "solutions teaser" component, then catches visual regressions with screenshot testing first via PhantomCSS and later with webdriverIO + webdriver CSS. Drupal 8 features (Twig blocks, classy/stable, BEM-friendly CSS organization) make cleaner markup possible, and the Component Based Rendering Initiative / Zen component setup shows a practical path to reuse the same markup between site and style guide.
AI-written summary · about
chapters (15)
- 0:00Intro
- 0:28What is Style Guide Driven Development
- 2:26Living Style Guide
- 8:59Overview
- 11:55Smacks
- 16:59Style Guide Module
- 19:33Style Guide Generator
- 22:28Style Guide Example
- 25:24Solution Teaser
- 28:18Behavior Driven Development
- 34:45Test Structure
- 36:27Test Sketch
- 38:20Test Example
- 45:35Zen Theme
- 55:35Component Based Rendering
