Replace zen grids with css grid. Move print styles print style file. Remove Drupal specific styles.
This commit is contained in:
parent
ccb8a2637a
commit
265a50cda5
1 changed files with 201 additions and 398 deletions
11
gulpfile.js
11
gulpfile.js
|
|
@ -33,20 +33,11 @@ options.sass = {
|
|||
options.theme.sass,
|
||||
options.rootPath.project + 'node_modules/breakpoint-sass/stylesheets',
|
||||
options.rootPath.project + 'node_modules/chroma-sass/sass',
|
||||
options.rootPath.project + 'node_modules/support-for/sass',
|
||||
options.rootPath.project + 'node_modules/typey/stylesheets'
|
||||
],
|
||||
outputStyle: 'expanded'
|
||||
};
|
||||
|
||||
// Define which browsers to add vendor prefixes for.
|
||||
options.autoprefixer = {
|
||||
browsers: [
|
||||
'> 1%',
|
||||
'ie 11'
|
||||
]
|
||||
};
|
||||
|
||||
// Define the paths to the JS files to lint.
|
||||
options.eslint = {
|
||||
files : [
|
||||
|
|
@ -93,7 +84,6 @@ gulp.task('styles', ['clean:css'], function() {
|
|||
return gulp.src(sassFiles)
|
||||
.pipe($.sourcemaps.init())
|
||||
.pipe(sass(options.sass).on('error', sass.logError))
|
||||
.pipe($.autoprefixer(options.autoprefixer))
|
||||
.pipe($.size({showFiles: true}))
|
||||
.pipe($.sourcemaps.write('./'))
|
||||
.pipe(gulp.dest(options.theme.css))
|
||||
|
|
@ -102,7 +92,6 @@ gulp.task('styles', ['clean:css'], function() {
|
|||
gulp.task('styles:production', ['clean:css'], function() {
|
||||
return gulp.src(sassFiles)
|
||||
.pipe(sass(options.sass).on('error', sass.logError))
|
||||
.pipe($.autoprefixer(options.autoprefixer))
|
||||
.pipe($.size({showFiles: true}))
|
||||
.pipe(cleanCSS({compatibility: 'ie10'}))
|
||||
.pipe(gulp.dest(options.theme.css));
|
||||
|
|
|
|||
Loading…
Reference in a new issue