Skip to content

Commit

Permalink
remove grid_units grunt task, add pure_grids task
Browse files Browse the repository at this point in the history
  • Loading branch information
tilomitra committed Feb 27, 2014
1 parent d1ab35a commit e91b2be
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 18 deletions.
23 changes: 19 additions & 4 deletions Gruntfile.js
Expand Up @@ -181,9 +181,22 @@ grunt.initConfig({

// -- Grid Units Config ----------------------------------------------------

grid_units: {
dest : 'build/grids-units.css',
units: [5, 24]
pure_grids: {
main: {
dest : 'build/grids-units.css',
units: [5, 24]
},
responsive: {
dest: 'build/grids-responsive.css',
options: {
mediaQueries: {
sm : 'screen and (min-width: 35.5em)', // 568px
md: 'screen and (min-width: 48em)', // 768px
lg: 'screen and (min-width: 64em)', // 1024px
xl : 'screen and (min-width: 75em)' // 1200px
}
}
}
},

// -- CSS Selectors Config -------------------------------------------------
Expand Down Expand Up @@ -224,6 +237,8 @@ grunt.loadNpmTasks('grunt-contrib-cssmin');
grunt.loadNpmTasks('grunt-contrib-compress');
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.loadNpmTasks('grunt-css-selectors');
grunt.loadNpmTasks('grunt-pure-grids');


// Local tasks.
grunt.loadTasks('tasks/');
Expand All @@ -234,7 +249,7 @@ grunt.registerTask('test', ['csslint']);
grunt.registerTask('build', [
'clean:build',
'copy:build',
'grid_units',
'pure_grids',
'concat:build',
'clean:build_res',
'css_selectors:base',
Expand Down
14 changes: 0 additions & 14 deletions tasks/grid_units.js

This file was deleted.

0 comments on commit e91b2be

Please sign in to comment.