From 7b884f71f873107eb49cd6bc01bd20a0428d36ef Mon Sep 17 00:00:00 2001 From: Eric Ferraiuolo Date: Wed, 27 Nov 2013 14:40:20 -0500 Subject: [PATCH] Add Base to src/ which is Pure's extras on top of Normalize.css --- Gruntfile.js | 26 +++++++++----------------- src/base/css/base.css | 9 +++++++++ 2 files changed, 18 insertions(+), 17 deletions(-) create mode 100644 src/base/css/base.css diff --git a/Gruntfile.js b/Gruntfile.js index b2b9303..dc851b7 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -21,23 +21,10 @@ grunt.initConfig({ copy: { build: { - expand : true, - flatten: true, + src : 'src/**/css/*.css', dest : 'build/', - - src: [ - 'bower_components/normalize-css/normalize.css', - 'src/**/css/*.css' - ], - - rename: function (dest, src) { - // normalize -> base - if (src === 'normalize.css') { - src = 'base.css'; - } - - return path.join(dest, src); - } + expand : true, + flatten: true } }, @@ -46,6 +33,11 @@ grunt.initConfig({ concat: { build: { files: [ + {'build/base.css': [ + 'bower_components/normalize-css/normalize.css', + 'build/base.css' + ]}, + {'build/buttons.css': [ 'build/buttons-core.css', 'build/buttons.css' @@ -242,10 +234,10 @@ grunt.registerTask('test', ['csslint']); grunt.registerTask('build', [ 'clean:build', 'copy:build', - 'css_selectors:base', 'grid_units', 'concat:build', 'clean:build_res', + 'css_selectors:base', 'cssmin', 'license' ]); diff --git a/src/base/css/base.css b/src/base/css/base.css new file mode 100644 index 0000000..92980eb --- /dev/null +++ b/src/base/css/base.css @@ -0,0 +1,9 @@ +/*csslint important:false*/ + +/* ========================================================================== + Pure Base Extras + ========================================================================== */ + +/** + * Extra rules that Pure adds on top of Normalize.css + */