Commit b9b88088 authored by Mattia Migliorini's avatar Mattia Migliorini

#1: use import paths for third party SASS files inclusion

parent 068d2de8
......@@ -23,16 +23,18 @@ var postcss = require("gulp-postcss");
var autoprefixer = require("autoprefixer");
gulp.task("sass", function() {
return gulp.src("scss/build.scss")
.pipe(sass().on("error", sass.logError))
.pipe(postcss([autoprefixer()]))
.pipe(gulp.dest("."));
return gulp.src("scss/build.scss")
.pipe(sass({
includePaths: ['node_modules']
}).on("error", sass.logError))
.pipe(postcss([autoprefixer()]))
.pipe(gulp.dest("."));
});
gulp.task("watch", function() {
gulp.watch("scss/**/*.scss", ["sass"]);
gulp.watch("scss/**/*.scss", ["sass"]);
});
gulp.task("default", function() {
gulp.start("sass");
gulp.start("sass");
});
......@@ -17,7 +17,7 @@
<http://www.gnu.org/licenses/>.
*/
@import '../node_modules/ubuntu-vanilla-theme/scss/theme';
@import 'ubuntu-vanilla-theme/scss/theme';
@import 'vanilla-theme';
@include ubuntuit-vanilla-theme;
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment