Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Newton Koumantzelis
committed
Jul 13, 2017
1 parent
43ced95
commit 479b8a5
Showing
2 changed files
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# Breakpoints | ||
|
||
## Variables | ||
|
||
```yaml | ||
desktop-wide: | ||
max-width: 100vw | ||
min-width: 1440px | ||
content: 1440px | ||
col: xl | ||
default: '{{!core.mobileFirst}}' | ||
bleed: 1600px | ||
desktop: | ||
max-width: 1439px | ||
min-width: 1024px | ||
content: 1024px | ||
col: lg | ||
tablet: | ||
max-width: 1023px | ||
min-width: 768px | ||
content: 768px | ||
col: md | ||
mobile: | ||
max-width: 767px | ||
min-width: 320px | ||
content: 100% | ||
col: sm | ||
``` | ||
|
||
There is a `breakpointHelper()` function in the `lib/` that is available for use | ||
when building out responsive-based mixins. The functions signature requires you | ||
to pass in an Object of styles as the first argument and the global `config` as | ||
the last argument. Look at the `container.js` mixin or `grid.js` mixin for an | ||
example. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters