Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
argyleink authored Oct 11, 2021
1 parent e1b8dbd commit 438293d
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,9 @@

<br>

`postcss-jit-props` watches for CSS variables and ensures a value entry exists in the stylesheet.
`postcss-jit-props` watches for CSS variables and ensures a value entry exists in the stylesheet. [Try in browser](https://stackblitz.com/edit/postcss-jit-props-sandbox?file=postcss.config.js)

This lets you provide a huge pool of properties for development and design, and rather than try and purge unused variables, only adds what was used.

Plugin supports providing variables as **Javascript, JSON or CSS** 👍
This lets you **provide a huge pool of properties** for development and design, and rather than try and purge unused variables, **only adds what was used**.

<br>

Expand Down Expand Up @@ -75,7 +73,7 @@ npm install --save-dev postcss-jit-props

<br>

**Step 2:** Add the plugin to plugins in `postcss.config.js` and **pass it your props**.
**Step 2:** Add the plugin to plugins in `postcss.config.js` and **pass it your props (CSS || JS || JSON)**.

Pass JS objects:
```js
Expand Down

0 comments on commit 438293d

Please sign in to comment.