
Security News
Open Source Maintainers Demand Ability to Block Copilot-Generated Issues and PRs
Open source maintainers are urging GitHub to let them block Copilot from submitting AI-generated issues and pull requests to their repositories.
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
Open source maintainers are urging GitHub to let them block Copilot from submitting AI-generated issues and pull requests to their repositories.
Research
Security News
Malicious Koishi plugin silently exfiltrates messages with hex strings to a hardcoded QQ account, exposing secrets in chatbots across platforms.
Research
Security News
Malicious PyPI checkers validate stolen emails against TikTok and Instagram APIs, enabling targeted account attacks and dark web credential sales.