Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Color grid background with gradients for 0 gutters grids #1156

Closed
wants to merge 1 commit into from

4 participants

@tsi
tsi commented

No description provided.

@tsi
tsi commented

Will solve issues like ericam/susy#155

@ericam
Owner

This looks good to me. I suppose the other option is recognizing 0-gutters, and alternating columns. If no one has a problem with this or a strong argument for the other, I'll pull it in as-is.

@scottdavis
Owner

test case update?

@chriseppstein

merged to master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 1, 2013
  1. @tsi
This page is out of date. Refresh to see the latest.
View
2  frameworks/compass/stylesheets/compass/layout/_grid-background.scss
@@ -68,7 +68,7 @@ $grid-background-force-fluid : false !default;
}
// and we add this column/gutter pair to our grid
- $grid: join($grid, ($column-color $a, $column-color $g, $gutter-color $g, $gutter-color $z));
+ $grid: join($grid, (lighten($column-color, 5%) $a, darken($column-color, 5%) $g, $gutter-color $g, $gutter-color $z));
}
@return $grid;
Something went wrong with that request. Please try again.