Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mattstratton/castanet.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/gulp
diff options
context:
space:
mode:
authorMatt Stratton <matt.stratton@gmail.com>2020-04-04 07:09:07 +0300
committerGitHub <noreply@github.com>2020-04-04 07:09:07 +0300
commit358bc74d2e7ba458eda8162991b145b1c6046d06 (patch)
tree962490f33b0f3dee77c46974262f4989985ef858 /gulp
parent7d162453db868c37be92a02c798bb53dc64646b7 (diff)
Update orange and blue CSS (#260)
Fixes #252 Signed-off-by: Matt Stratton <matt.stratton@gmail.com>
Diffstat (limited to 'gulp')
-rw-r--r--gulp/tasks/dev/sass.js12
1 files changed, 7 insertions, 5 deletions
diff --git a/gulp/tasks/dev/sass.js b/gulp/tasks/dev/sass.js
index 3df602f..37851d2 100644
--- a/gulp/tasks/dev/sass.js
+++ b/gulp/tasks/dev/sass.js
@@ -4,7 +4,7 @@ var gulp = require('gulp'),
sass.compiler = require('node-sass');
-gulp.task('sass', function () {
+gulp.task('site-sass', function () {
return gulp.src('static/scss/site.scss')
.pipe(sourcemaps.init())
.pipe(sass({ style: 'compressed' }).on('error', sass.logError))
@@ -12,24 +12,26 @@ gulp.task('sass', function () {
.pipe(gulp.dest('static/css'));
});
- gulp.task('sass', function () {
+ gulp.task('blue-sass', function () {
return gulp.src('static/scss/blue.scss')
.pipe(sourcemaps.init())
.pipe(sass({ style: 'compressed' }).on('error', sass.logError))
.pipe(sourcemaps.write('./'))
.pipe(gulp.dest('static/css'));
});
- gulp.task('sass', function () {
+ gulp.task('orange-sass', function () {
return gulp.src('static/scss/orange.scss')
.pipe(sourcemaps.init())
.pipe(sass({ style: 'compressed' }).on('error', sass.logError))
.pipe(sourcemaps.write('./'))
.pipe(gulp.dest('static/css'));
});
- gulp.task('sass', function () {
+ gulp.task('grey-sass', function () {
return gulp.src('static/scss/grey.scss')
.pipe(sourcemaps.init())
.pipe(sass({ style: 'compressed' }).on('error', sass.logError))
.pipe(sourcemaps.write('./'))
.pipe(gulp.dest('static/css'));
- }); \ No newline at end of file
+ });
+
+ gulp.task('sass', gulp.series('site-sass', 'blue-sass', 'orange-sass','grey-sass'))