mirror of
https://github.com/pure-css/pure
synced 2025-03-29 18:09:11 +01:00
Generate 5ths and 24ths grid units including non-reduced fractions
Closes #144 Relates #149
This commit is contained in:
parent
dfff4fe238
commit
a4c0ade4b1
@ -188,7 +188,7 @@ grunt.initConfig({
|
|||||||
|
|
||||||
grid_units: {
|
grid_units: {
|
||||||
dest : 'build/grids-units.css',
|
dest : 'build/grids-units.css',
|
||||||
units: 24
|
units: [5, 24]
|
||||||
},
|
},
|
||||||
|
|
||||||
// -- CSS Selectors Config -------------------------------------------------
|
// -- CSS Selectors Config -------------------------------------------------
|
||||||
|
@ -9,6 +9,7 @@
|
|||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"bower": "~1.2.5",
|
"bower": "~1.2.5",
|
||||||
"grunt": "~0.4.1",
|
"grunt": "~0.4.1",
|
||||||
|
"grunt-cli": "~0.1.9",
|
||||||
"grunt-contrib-cssmin": "~0.6.0",
|
"grunt-contrib-cssmin": "~0.6.0",
|
||||||
"grunt-contrib-clean": "~0.5.0",
|
"grunt-contrib-clean": "~0.5.0",
|
||||||
"grunt-contrib-copy": "~0.4.1",
|
"grunt-contrib-copy": "~0.4.1",
|
||||||
@ -17,6 +18,6 @@
|
|||||||
"grunt-contrib-csslint": "~0.1.2",
|
"grunt-contrib-csslint": "~0.1.2",
|
||||||
"grunt-contrib-watch": "~0.5.3",
|
"grunt-contrib-watch": "~0.5.3",
|
||||||
"grunt-css-selectors": "~0.1.0",
|
"grunt-css-selectors": "~0.1.0",
|
||||||
"grunt-cli": "~0.1.9"
|
"rework-pure-grids": "0.0.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
13
src/grids/README.md
Normal file
13
src/grids/README.md
Normal 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
|
Loading…
x
Reference in New Issue
Block a user