These are chat archives for SmartFocus/reactjs

4th
Apr 2015
Juho Vepsäläinen
@bebraw
Apr 04 2015 14:07
i wonder what would be a nice api for pure grids (http://purecss.io/grids/)

maybe something along

<Grid>
    <Unit>foo</Unit>
    <Unit>bar</Unit>
    ...
</Grid>

for vanilla case (each Unit would map to pure-u-1-n)

if you want a larger unit, you would pass it as a prop
the problem is that this cannot be entirely arbitrary - there are only 5th and 24th based grid available
also how to deal with responsive grids? you'll want different units based on resolution