Security News
The Risks of Misguided Research in Supply Chain Security
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.
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.
The npm package gulp-sass-themes-combiner receives a total of 33 weekly downloads. As such, gulp-sass-themes-combiner popularity was classified as not popular.
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
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.
Research
Security News
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.