Add Base to src/ which is Pure's extras on top of Normalize.css

This commit is contained in:
Eric Ferraiuolo 2013-11-27 14:40:20 -05:00
parent 97f862bd7e
commit 7b884f71f8
2 changed files with 18 additions and 17 deletions

View File

@ -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'
]);

9
src/base/css/base.css Normal file
View File

@ -0,0 +1,9 @@
/*csslint important:false*/
/* ==========================================================================
Pure Base Extras
========================================================================== */
/**
* Extra rules that Pure adds on top of Normalize.css
*/