
Product
Socket Now Available on Google Cloud Marketplace
Socket, the leader in open source security, is now available on Google Cloud Marketplace for simplified procurement and enhanced protection against supply chain attacks.
@progress/kendo-theme-tasks
Advanced tools
The Kendo UI theme-tasks
package is a utility library for developing and building @progress/kendo-theme-*
packages.
npm install @progress/kendo-theme-tasks --save-dev
node-sass
or sass
): npm install sass
npm install node-sass
npm install postcss postcss-calc autoprefixer
The package allows you to compile Kendo themes from SCSS or JSON through the kendoSassBuild
and kendoJsonBuild
functions.
A Kendo theme can be compiled to CSS from SCSS source with predefined configuration options (package importer, postcss, postcss-calc and autoprefixer) through the kendoSassBuild()
method:
@import "~@progress/kendo-theme-default/dist/all.scss";
const { kendoSassBuild } = require('@progress/kendo-theme-tasks/src/build/kendo-build');
function buildStyles(cb) {
kendoSassBuild({
file: './sass/styles.scss',
output: {
path: './wwwroot/css'
},
sassOptions: {
compiler: 'node-sass',
minify: true
}
});
cb();
}
exports.buildStyles = buildStyles;
A Kendo theme or a custom theme swatch can be compiled to CSS from JSON schema with predefined configuration options (package importer, postcss, postcss-calc and autoprefixer) through the kendoJsonBuild()
method:
Utilize one of the existing theme swatches or create a new one by following the schema.
Compile the JSON schema to CSS:
const { kendoJsonBuild } = require('@progress/kendo-theme-tasks/src/build/kendo-build');
function buildStyles(cb) {
kendoJsonBuild({
file: 'scss/theme.json',
output: {
path: 'dist/'
},
sassOptions: {
compiler: 'node-sass',
minify: true
}
});
cb();
}
exports.build = buildStyles;
FAQs
Build utility for @progress/kendo-themes
The npm package @progress/kendo-theme-tasks receives a total of 215 weekly downloads. As such, @progress/kendo-theme-tasks popularity was classified as not popular.
We found that @progress/kendo-theme-tasks 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.
Product
Socket, the leader in open source security, is now available on Google Cloud Marketplace for simplified procurement and enhanced protection against supply chain attacks.
Security News
Corepack will be phased out from future Node.js releases following a TSC vote.
Research
Security News
Research uncovers Black Basta's plans to exploit package registries for ransomware delivery alongside evidence of similar attacks already targeting open source ecosystems.