Skip to content
This repository has been archived by the owner on Nov 12, 2017. It is now read-only.

Commit

Permalink
updating docs
Browse files Browse the repository at this point in the history
  • Loading branch information
rofrischmann committed Dec 5, 2015
1 parent bec0dea commit 57ab654
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ The documentation gives huge information on how to do all kind of stuff. It also
* [Usage Guides](docs/guides/)
* [API](docs/api/)
* [Plugins](docs/plugins/)
* [Mixins](docs/Mixins.md)
* [FAQ](docs/FAQ.md)

# License
Expand Down
4 changes: 2 additions & 2 deletions docs/api/StyleSheet.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ A helper to create scoped styles and global CSS StyleSheets. This helps to impro
Creates a scoped `styles` object to reduce style resolving when nesting Components enhanced by Look. The scope also serves as reference to the used `Component`.
> NOTE: This is optional as you may also use a plain JavaScript object as styles, but it improves rendering performance and is considered best practice.
### `toCSS(styles [, scope, userAgent])`
### `toCSS(styles [, scope])`
> Note: [lookRoot](../FAQ.md#2-global-css-rules) must be set to render these CSS rules
Adds all `styles` as a valid CSS string and directly applies those to the global CSSStyleSheet. `scope` will also add a scope selector to add more specificity.
Expand All @@ -29,7 +29,7 @@ StyleSheet.toCSS({
}
})
```
### `keyframes(frames [, name, userAgent])`
### `keyframes(frames [, name])`
> Note: [lookRoot](../FAQ.md#2-global-css-rules) must be set to render these CSS rules
Adds the `frames` as a new keyframe animation to the global CSSStyleSheet and returns the animation name.
Expand Down

0 comments on commit 57ab654

Please sign in to comment.