From 7c4ef6ebb475add872b235afce1951a2fe9e0a9d Mon Sep 17 00:00:00 2001 From: Raphael Goetter Date: Mon, 4 Dec 2017 17:11:58 +0100 Subject: [PATCH] Grillade variables little rework --- sass/components/grillade-grid.scss | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/sass/components/grillade-grid.scss b/sass/components/grillade-grid.scss index 385c922..6740570 100644 --- a/sass/components/grillade-grid.scss +++ b/sass/components/grillade-grid.scss @@ -6,13 +6,13 @@ // 1- use vanilla CSS Grid Layout spec (perfect for you) // 2- use Bootstrap (good luck) -@if (not variable_exists(tiny)) or (not variable_exists(small)) or (not variable_exists(medium)) or (not variable_exists(large)) - { - $tiny: 480px !global; - $small: 576px !global; - $medium: 768px !global; - $large: 992px !global; -} +// use these variables only for a standalone Grillade +// in KNACSS, you shall modify variables file instead? +$tiny: 480px !default; +$small: 576px !default; +$medium: 768px !default; +$large: 992px !default; + [class*=" grid-"], [class^="grid-"] {