
Security News
Meet Socket at Black Hat Europe and BSides London 2025
Socket is heading to London! Stop by our booth or schedule a meeting to see what we've been working on.
gulp-sass-themes-combiner
Advanced tools
Inject files with theme variables into SCSS files and combine output CSS.
SASS themes injector & combiner.
A plugin for Gulp as extension of gulp-sass.
Inspired by gulp-sass-themes.
Source files
+-- styles
+-- _default-colors.scss
+-- body.scss
+-- form.scss
+-- login.scss
+-- themes
+-- _white.scss
+-- _black.scss
Gulpfile
'use strict';
const gulp = require('gulp');
const sass = require('gulp-sass');
const themesCombiner = require('gulp-sass-themes-combiner');
gulp.task("sass", function () {
var themesCombiner = themesCombiner('./styles/themes/_*.scss');
return gulp.src(['./styles/**/*.scss'])
.pipe(themesCombiner.init())
.pipe(sass.sync().on("error", sass.logError))
.pipe(themesCombiner.combine('mySite'))
.pipe(gulp.dest('./dist/styles'));
});
Output
+-- dist
+-- styles
+-- mySite.white.css
+-- mySite.dark.css
Type: String | Array<String>
Glob pattern to theme files.
Type: String
Current working directory for glob pattern.
Type: Boolean
Verbose working mode.
Type: String
Theme file extension (.scss or .sass, default - .sass).
FAQs
Inject files with theme variables into SCSS files and combine output CSS.
We found that gulp-sass-themes-combiner demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Socket is heading to London! Stop by our booth or schedule a meeting to see what we've been working on.

Security News
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.