Move to scss, lint and concat scss files

This commit is contained in:
Raimund Schlüßler 2017-09-04 08:12:12 +02:00
parent e605acd4b2
commit 500e009dee
No known key found for this signature in database
GPG key ID: 036FA7EB1A599178
6 changed files with 4601 additions and 1521 deletions

2227
css/src/style.scss Normal file

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

2370
css/style.scss Normal file

File diff suppressed because it is too large Load diff

View file

@ -61,8 +61,8 @@ const svgConfig = {
prefix: '.ico-%s',
sprite: "../img/sprites.svg",
render: {
css: {
dest: "../css/sprite.css"
scss: {
dest: "../css/src/sprite.scss"
}
}
}
@ -92,8 +92,7 @@ gulp.task('build', ['lint'], () => {
.pipe(gulp.dest(destinationFolder));
});
// gulp.task('default', ['build', 'vendor', 'scsslint', 'scssConcat']);
gulp.task('default', ['build', 'vendor', 'svg_sprite']);
gulp.task('default', ['build', 'vendor', 'scsslint', 'scssConcat']);
gulp.task('lint', () => {
return gulp.src(lintSources)
@ -118,7 +117,7 @@ gulp.task('scssConcat', ['svg_sprite'], () => {
.pipe(gulp.dest(scssDestinationFolder));
});
gulp.task('scssConcatWatch', () => {
gulp.task('scssConcatWatch', ['scsslint'], () => {
return gulp.src(scssSources)
.pipe(concat(scssBuildTarget))
.pipe(gulp.dest(scssDestinationFolder));

View file

@ -10,7 +10,6 @@
script('tasks', 'vendor_legacy/jquery-timepicker/jquery.ui.timepicker');
script('tasks', 'vendor/ical.js/build/ical');
style('tasks', 'style');
style('tasks', 'sprite');
style('tasks', 'vendor/angularui/ui-select/select2');
?>