jquery-archive / css-chassis

An attempt at creating an open standard for both CSS and JavaScript UI libraries.
https://css-chassis.com
Other
351 stars 67 forks source link

Viewport: Add breakpoint variables and use them #106

Closed geekman-rohit closed 8 years ago

geekman-rohit commented 9 years ago

Adds Breakpoints variables and modifies typography to use them.

geekman-rohit commented 9 years ago

@sfrisk I pushed to the PR.

geekman-rohit commented 9 years ago

@sfrisk , @arschmitz I suggest we rename to $breakpoint-sm instead of $viewport as these are breakpoints.

geekman-rohit commented 9 years ago

viewport-xs-min : 0 // we wont use or declare this, its assumed viewport-sm-min : 401 viewport-md-min: 769 viewport-lg-min: 921 viewport-xl-min: 1201

if everyone approves to that I could make the change and update ? Update: The above mentioned will be variables we use.(other than xs-min which we wont explicitly specify) Our viewports will be: xs(default): 0-400 sm: 401-768 md: 769-920 lg: 921-1200 xl: 1201-

geekman-rohit commented 9 years ago

@cvrebert is that (my earlier comment ) what you were suggesting?

cvrebert commented 9 years ago

@geekman-rohit Yeah, pretty much. Although the minimums being odd numbers seems slightly weird.

geekman-rohit commented 9 years ago

@sfrisk , my point in meeting today exactly. min should start at 400, xs ending at 399.

arschmitz commented 9 years ago

@cvrebert i agree

sfrisk commented 9 years ago

Then do that.

geekman-rohit commented 9 years ago

@sfrisk any reviews on this?

sfrisk commented 8 years ago

@geekman-rohit - remove the changes on files that aren't on breakpoint.js and make sure it works with the latest version of master, since I'm pretty sure this branch is a bit out of date. Once that is done, I can pull in these changes.

geekman-rohit commented 8 years ago

@sfrisk I think this can go in now?

sfrisk commented 8 years ago

Bahhhhh, I missed a step when I merged this in. My bad guys.