43c19e5d00
GRID: - Added LESS logic so that grid columns are calculated from the total width of the container VARIABLES: Hooked up color variables to fonts, buttons, border, backgrounds BREAKPOINTS: defined breakpoints by variables. GRUNT: Grunt will watch the less file and any time there is a change saved it will compile to the css/skeleton.css file.
34 lines
906 B
JavaScript
34 lines
906 B
JavaScript
module.exports = function(grunt) {
|
|
grunt.initConfig({
|
|
less: {
|
|
development: {
|
|
options: {
|
|
compress: false,
|
|
cleancss: false,
|
|
optimization: 2,
|
|
dumpLineNumbers: 'false'
|
|
},
|
|
files: {
|
|
"css/skeleton.css": "less/skeleton.less"
|
|
}
|
|
}
|
|
},
|
|
|
|
watch: {
|
|
options: {
|
|
livereload: false,
|
|
},
|
|
styles: {
|
|
files: ['less/**/*.less'], // which files to watch
|
|
tasks: ['less'],
|
|
options: {
|
|
nospawn: true
|
|
}
|
|
}
|
|
}
|
|
});
|
|
|
|
grunt.loadNpmTasks('grunt-contrib-less');
|
|
grunt.loadNpmTasks('grunt-contrib-watch');
|
|
grunt.registerTask('default', ['less', 'watch']);
|
|
}; |