From 9b2c162f044e70f939da5ac44f7c5713ca20caa3 Mon Sep 17 00:00:00 2001 From: Colm Morgan Date: Thu, 20 Oct 2016 15:15:46 +0100 Subject: [PATCH] Allow breakpoints variable to be customisable --- src/grid.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/grid.scss b/src/grid.scss index c0344c8..bee5b3d 100644 --- a/src/grid.scss +++ b/src/grid.scss @@ -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;