diff --git a/Gulpfile.js b/Gulpfile.js index a3d08d8..3fcfcf9 100644 --- a/Gulpfile.js +++ b/Gulpfile.js @@ -73,7 +73,13 @@ gulp.task('sass', function() { stylelint(defaults.stylelint), reporter({ clearMessages: true }) ], {syntax: syntax_scss})) - .pipe(sass().on('error',sass.logError)) + // Include paths to sass modules + .pipe(sass({ + includePaths: [ + 'node_modules/singularitygs/stylesheets/', + 'node_modules/breakpoint-sass/stylesheets/' + ] + }).on('error',sass.logError)) // Run postcss plugin functions .pipe(postcss(processors)) // Put the CSS in the destination dir diff --git a/STYLEGUIDE_TEMPLATE/source/code/sass/_init.scss b/STYLEGUIDE_TEMPLATE/source/code/sass/_init.scss index 066936d..c41e2ad 100644 --- a/STYLEGUIDE_TEMPLATE/source/code/sass/_init.scss +++ b/STYLEGUIDE_TEMPLATE/source/code/sass/_init.scss @@ -154,9 +154,10 @@ $indent-amount: 1em; // ============================================================================= // Add the Singularity Grids responsive layout mixins. -@import "../../../../node_modules/butler/node_modules/singularitygs/stylesheets/singularitygs"; +@import "singularitygs"; + // Add the Breakpoint mixin. -@import "../../../../node_modules/butler/node_modules/breakpoint-sass/stylesheets/breakpoint"; +@import "breakpoint"; // Now we add our custom helper mixins. @import "mixins";