mirror of
https://github.com/pure-css/pure.git
synced 2024-11-07 21:34:24 +00:00
Add Base to src/ which is Pure's extras on top of Normalize.css
This commit is contained in:
parent
97f862bd7e
commit
7b884f71f8
26
Gruntfile.js
26
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'
|
||||
]);
|
||||
|
9
src/base/css/base.css
Normal file
9
src/base/css/base.css
Normal file
@ -0,0 +1,9 @@
|
||||
/*csslint important:false*/
|
||||
|
||||
/* ==========================================================================
|
||||
Pure Base Extras
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Extra rules that Pure adds on top of Normalize.css
|
||||
*/
|
Loading…
Reference in New Issue
Block a user