Skip to content

Commit 3340b33

Browse files
committed
Use grunt-pure-grids package
1 parent a5b2587 commit 3340b33

File tree

3 files changed

+12
-20
lines changed

3 files changed

+12
-20
lines changed

Gruntfile.js

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -190,11 +190,16 @@ grunt.initConfig({
190190
}
191191
},
192192

193-
// -- Grid Units Config ----------------------------------------------------
193+
// -- Pure Grids Units Config ----------------------------------------------
194194

195-
grid_units: {
196-
dest : 'build/grids-units.css',
197-
units: [5, 24]
195+
pure_grids: {
196+
default_units: {
197+
dest: 'build/grids-units.css',
198+
199+
options: {
200+
units: [5, 24]
201+
}
202+
}
198203
},
199204

200205
// -- CSS Selectors Config -------------------------------------------------
@@ -235,6 +240,7 @@ grunt.loadNpmTasks('grunt-contrib-cssmin');
235240
grunt.loadNpmTasks('grunt-contrib-compress');
236241
grunt.loadNpmTasks('grunt-contrib-watch');
237242
grunt.loadNpmTasks('grunt-css-selectors');
243+
grunt.loadNpmTasks('grunt-pure-grids');
238244

239245
// Local tasks.
240246
grunt.loadTasks('tasks/');
@@ -245,7 +251,7 @@ grunt.registerTask('test', ['csslint']);
245251
grunt.registerTask('build', [
246252
'clean:build',
247253
'copy:build',
248-
'grid_units',
254+
'pure_grids',
249255
'concat:build',
250256
'clean:build_res',
251257
'css_selectors:base',

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@
1818
"grunt-contrib-csslint": "~0.2.0",
1919
"grunt-contrib-watch": "~0.5.3",
2020
"grunt-css-selectors": "~1.0.0",
21-
"rework-pure-grids": "~0.3.0"
21+
"grunt-pure-grids": "0.0.1"
2222
}
2323
}

tasks/grid_units.js

Lines changed: 0 additions & 14 deletions
This file was deleted.

0 commit comments

Comments
 (0)