main interface ok

added grunt-svg2png and set svg 2 png fall back mixin
added bubbles and stars
added nav_pos move on chapter preview
This commit is contained in:
Bachir Soussi Chiadmi
2015-03-09 18:04:42 +01:00
parent 76c7154f4e
commit d5edfa75c8
810 changed files with 87625 additions and 320 deletions
+13 -1
View File
@@ -34,12 +34,24 @@ module.exports = function (grunt) {
},
dist: { src: 'css/*.css' }
},
svg2png: {
assets: {
// specify files in array format with multiple src-dest mapping
files: [
// rasterize all SVG files in "img" and its subdirectories to "img/png"
// { src: ['assets/img/*.svg'], dest: 'assets/img/png/' },
// rasterize SVG file to same directory
{ src: ['assets/img/*.svg'] }
]
}
}
});
grunt.loadNpmTasks('grunt-contrib-compass');
grunt.loadNpmTasks('grunt-contrib-sass');
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.loadNpmTasks('grunt-postcss');
grunt.loadNpmTasks('grunt-svg2png');
grunt.registerTask('default', ['compass', 'postcss']);
grunt.registerTask('default', ['compass', 'postcss', 'svg2png']);
};