palette-manager
v1.0.0
Published
Creates palettes' files for email composer CSS
Downloads
5
Readme
Palette manager
Creates palettes' files for email composer CSS.
Example
Import the module and extract the exported functions from it
const paletteManager = require( 'palette-manager' );
const paths = {
themePalette: 'scss/theme-palette',
icegramPath: 'css/icegram-themes',
};
const {
clearStylePalette,
createEmailPaletteImport,
} = paletteManager( grunt, { paths } );
Add the proper grunt
tasks
grunt.registerTask( 'createEmailPaletteImport', createEmailPaletteImport );
grunt.registerTask( 'clearStylePalette', clearStylePalette );