Generate 5ths and 24ths grid units including non-reduced fractions

Closes #144
Relates #149
This commit is contained in:
Eric Ferraiuolo 2013-11-24 18:40:32 -05:00
parent dfff4fe238
commit a4c0ade4b1
3 changed files with 16 additions and 2 deletions

View File

@ -188,7 +188,7 @@ grunt.initConfig({
grid_units: {
dest : 'build/grids-units.css',
units: 24
units: [5, 24]
},
// -- CSS Selectors Config -------------------------------------------------

View File

@ -9,6 +9,7 @@
"devDependencies": {
"bower": "~1.2.5",
"grunt": "~0.4.1",
"grunt-cli": "~0.1.9",
"grunt-contrib-cssmin": "~0.6.0",
"grunt-contrib-clean": "~0.5.0",
"grunt-contrib-copy": "~0.4.1",
@ -17,6 +18,6 @@
"grunt-contrib-csslint": "~0.1.2",
"grunt-contrib-watch": "~0.5.3",
"grunt-css-selectors": "~0.1.0",
"grunt-cli": "~0.1.9"
"rework-pure-grids": "0.0.2"
}
}

13
src/grids/README.md Normal file
View File

@ -0,0 +1,13 @@
Pure Grids
==========
Pure Grids ship with build-in 5ths- and 24ths-based units styles. The unit style
rules are generated via Pure's [`rework-pure-grids`][rework-pure-grids]
[Rework][] plugin.
The tooling used by Pure to generate its built-in Grids can also be used to
create custom Grids that use any nth-unit base.
[rework-pure-grids]: https://github.com/ericf/rework-pure-grids
[Rework]: https://github.com/visionmedia/rework