scottkellum/Singularity — pull request #81 by robwierzbowski (2012-12-29 01:36:42+00:00)
Title: Add second color to background grid

I'm making a grid with padding but no gutters, which messes with my use of the awesome `background-grid()` mixin.

To fix this I revised `grid-gradient-stop()` to use the same logic no matter which column it's on, and then added an optional second color variable to `background-grid()` called `$color2`.

- If you don't specify a `$color2`, nothing changes.
- If you set `$color2`, odd columns are `$color` and even columns are `$color2`.
- If you don't specify a `$color2` **and** you have gutters set to 0, `$color2` is automatically set to `$color` but with 1/2 the opacity.