Skip to content

Commit

Permalink
Merge pull request #3 from carmat/patch/fix-broken-variable-name
Browse files Browse the repository at this point in the history
Allow breakpoints variable to be customisable
  • Loading branch information
carmat authored Oct 20, 2016
2 parents b1eddcd + 9b2c162 commit 6da1c42
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/grid.scss
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ The maths...
*/
$responsi-columns: 12 !default;
$responsi-gutter: 2.5% !default; // .5rem @ 320px
$breakpoints: 480, 768, 960 !default;
$responsi-breakpoints: 480, 768, 960 !default;

// Private grid variables based on user-available variables
$__single-column-width: ( ( 100% - ($responsi-gutter * ($responsi-columns - 1)) ) / $responsi-columns );
$__smallest-breakpoint: min($breakpoints...);
$__smallest-breakpoint: min($responsi-breakpoints...);

.grid {
display: block;
Expand Down

0 comments on commit 6da1c42

Please sign in to comment.