Skip to content

Commit

Permalink
Create; breakpoint docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Newton Koumantzelis committed Jul 13, 2017
1 parent 43ced95 commit 479b8a5
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
34 changes: 34 additions & 0 deletions docs/breakpoints.md
@@ -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.
2 changes: 2 additions & 0 deletions mkdocs.yaml
Expand Up @@ -8,6 +8,8 @@ repo_url: https://github.com/firstandthird/clientkit-docs.git
theme: 'material'
pages:
- Home: 'getting-started.md'
- Configuration:
- Breakpoints: 'breakpoints.md'
- Layout:
- Grid: 'grid.md'
- Clearfix: 'clearfix.md'
Expand Down

0 comments on commit 479b8a5

Please sign in to comment.