From 0771287438df600df94648e51ce64d7b99b69327 Mon Sep 17 00:00:00 2001 From: Raphael Goetter Date: Wed, 9 Aug 2017 15:27:57 +0200 Subject: [PATCH] activate Grid Layout in autoprefixer --- css/knacss-unminified.css | 26 +++++++++++++------------- gulpfile.js | 4 ++-- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/css/knacss-unminified.css b/css/knacss-unminified.css index 79f5caf..6ba0ac4 100644 --- a/css/knacss-unminified.css +++ b/css/knacss-unminified.css @@ -9,26 +9,26 @@ /* 1- Normalize (basic reset) 2- Libraries : - - Base (basic global styles) - - Print (basic print styles) + - Base + - Print - Misc (hyphens) - Layout (alignment, modules, positionning) - Utilities (width and spacers helpers) - - Responsive (Responsive helpers) + - Responsive helpers - WordPress reset (disabled by default) 3- Components : - Media object - Autogrid object - - Skip Links - - Tables (data tables consistency) - - Forms (forms consistency) - - Buttons (buttons consistency) - - Checkbox (checkbox styles) - - Radio (radio styles) - - Tabs (tabs styles) - - Badges (badges consistency) - - Alerts (alerts consistency) - - Grillade (Grid System in Flexbox) + - Skip Links for accessibility + - Tables + - Forms + - Buttons + - Checkbox + - Radio + - Tabs + - Badges + - Alerts + - Grillade (Grid System) */ /*! normalize.css v7.0.0 | MIT License | github.com/necolas/normalize.css */ /* Document diff --git a/gulpfile.js b/gulpfile.js index 09b29f0..222689f 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -16,7 +16,7 @@ gulp.task('css', function () { .pipe(sass({ outputStyle: 'expanded' // CSS non minifiée plus lisible ('}' à la ligne) })) - .pipe(autoprefixer()) + .pipe(autoprefixer({ grid: true })) .pipe(rename('knacss-unminified.css')) .pipe(gulp.dest('./css/')) .pipe(rename('knacss.css')) @@ -31,7 +31,7 @@ gulp.task('grillade', function() { .pipe(concat('grillade.scss')) .pipe(gulp.dest('./css/')) .pipe(sass()) - .pipe(autoprefixer()) + .pipe(autoprefixer({ grid: true })) .pipe(minifycss()) .pipe(gulp.dest('./css/')); });