Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Grid without breakpoints #270

Closed
doktorbro opened this issue Jan 7, 2014 · 6 comments
Closed

Grid without breakpoints #270

doktorbro opened this issue Jan 7, 2014 · 6 comments

Comments

@doktorbro
Copy link

What about give the user really pure grids without breakpoints inside? Instead I’d like to define my own breakpoints in the header of page:

<link rel="stylesheet" media="(min-width: 0)" href="grid-small.css" />
<link rel="stylesheet" media="(min-width: 30em)" href="grid-medium.css" />
<link rel="stylesheet" media="(min-width: 60em)" href="grid-large.css" />

The grid-medium.css should only contain the medium units:

.pure-u-medium-1,
.pure-u-medium-1-2,
.pure-u-medium-1-3,
/* … */
{

}

Do you think that way is possible in feature?

@narcis-radu
Copy link
Contributor

isn't this the same? #267

@ericf
Copy link
Collaborator

ericf commented Jan 8, 2014

@penibelst Yup, exactly! We're working on it and building the tooling and updating the website to make it easy to customize Pure Grids with your app's specific breakpoints.

@narcis-radu it is the same, but we'll leave this open until #267 is merged.

@doktorbro
Copy link
Author

@ericf @narcis-radu Great news. Can’t wait to use it. I close this one and subscribe to the duplicate.

@ericf
Copy link
Collaborator

ericf commented Jan 9, 2014

@penibelst You can start using the CLI today. We have a first version of a Rework plugin that generates custom grid unit sizes along with media queries: rework-pure-grids.

We don't have a Grunt plugin to wrap this yet, but could look how we're using rework-pure-grids + Grunt to generate Pure's built-in grid units along with the config.

@ericf
Copy link
Collaborator

ericf commented Jan 9, 2014

Right now, @tilomitra and I are dogfooding these new tools by converting Pure's website to use mobile-first styles. Since these tools are written in JavaScript, we're planning to use them to power a completely revamp the Grids page of the website with a fancy interactive web UI for customizing Grids for your app.

@doktorbro
Copy link
Author

@ericf I’ll wait until the Grid page is ready.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants