Integrate Yaml in your Sass through Compass

I have been using Sass since many years and every year the way I organise my code changes.

In the last year I have had the opportunity to work a lot on Styleguides, a nice way to create artifacts of code (HTML, CSS and JS) that developers can easily use to prototype their products.

This change has raised a new need for me: reducing duplication of code.

Let’s make an example.