Skip to content

Commit

Permalink
update project documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathantneal committed Aug 5, 2021
1 parent 02c1218 commit c7812cc
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 5 deletions.
6 changes: 4 additions & 2 deletions packages/core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,14 @@

**@stitches/core** is a framework-agnostic implementation of [stitches](https://stitches.dev), a CSS-in-JS library with a best-in-class developer experience.

<p><br /></p>

```sh
# with npm
npm install @stitches/react
npm install @stitches/core

# with yarn
yarn add @stitches/react
yarn add @stitches/core
```

<p><br /></p>
Expand Down
39 changes: 36 additions & 3 deletions packages/react/README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,45 @@
# Stitches React
# @stitches/react

React wrapper including the `styled` API.
**@stitches/react** is a react implementation of [stitches](https://stitches.dev), a CSS-in-JS library with a best-in-class developer experience.

<p><br /></p>

```sh
# with npm
npm install @stitches/react

# with yarn
yarn add @stitches/react
```

<p><br /></p>

<a href="https://codepen.io/embed/prefill?editable=true&default-tab=js%2Cresult&data=%7B%22js%22%3A%22import+%7B+createStitches+%7D+from+%27https%3A%2F%2Fcdn.skypack.dev%2F%40stitches%2Freact%27%5Cn%5Cn%2F%2F+add+your+code+here%21%5Cn%2F%2F+see+https%3A%2F%2Fstitches.dev+for+documentation%22%7D"><img src="https://img.shields.io/badge/-open_in_codepen-2b354f?logo=codepen&style=flat-square" alt="open in codepen" valign="middle" align="right"></a>

<br />

```html
<script type="module">
import { createStitches } from 'https://cdn.skypack.dev/@stitches/react'
const { css } = createStitches()
</script>
```

<p><br /></p>

<a href="https://codepen.io/embed/prefill?editable=true&default-tab=js%2Cresult&data=%7B%22js%22%3A%22stitches.createStitches%5Cn%5Cn%2F%2F+add+your+code+here%21%5Cn%2F%2F+see+https%3A%2F%2Fstitches.dev+for+documentation%22%2C%22js_external%22%3A%22https%3A%2F%2Fcdn.skypack.dev%2F%40stitches%2Freact%2Fglobal%22%7D"><img src="https://img.shields.io/badge/-open_in_codepen-2b354f?logo=codepen&style=flat-square" alt="open in codepen" valign="middle" align="right"></a>

<br />

```js
<script src="https://cdn.skypack.dev/@stitches/react/global"></script>
<script>
const { css } = stitches.createStitches()
</script>
```

---
<p><br /></p>

## Documentation

Expand Down

0 comments on commit c7812cc

Please sign in to comment.