SassDoc/sassdoc-theme-default — pull request #39 by ben-eb (2014-12-31 15:07:31+00:00)
Title: Add colour variable preview support. Fixes #28.

![screen shot 2014-12-31 at 15 04 14](https://cloud.githubusercontent.com/assets/1282980/5588340/55530b9a-90fe-11e4-93c5-c552de5b8949.png)

Not sure if there's a more elegant way to do this in swig. I'd prefer some logic that is like this in JS:

```js
if (~item.type.indexOf('color')) {
// => print the colour
}
```

Anyway, thought I'd fix this for you. :smile: