Skip to content

Commit

Permalink
remove @next from README
Browse files Browse the repository at this point in the history
  • Loading branch information
Philipp Siekmann committed Jul 16, 2021
1 parent 12b5cca commit 51dc216
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Display design token documentation generated from your stylesheets and icon file
First, install the addon.

```sh
$ yarn add --dev storybook-design-token@next
$ yarn add --dev storybook-design-token
```

Add the addon to your storybook addon list inside `.storybook/main.js`:
Expand Down Expand Up @@ -58,7 +58,6 @@ export const parameters = {

The last step is to annotate your design tokens with a category name and a presenter. You can do this by adding special comment blocks to your stylesheets. Below is an example of a css stylesheet defining three categories ("Animations", "Colors", "Others"). It works the same way for scss and less files.


```css
:root {
/**
Expand All @@ -80,8 +79,7 @@ The last step is to annotate your design tokens with a category name and a prese
/**
* @tokens Others
*/
--border-normal: 3px dashed red;/* Token Description Example @presenter BorderRadius */

--border-normal: 3px dashed red; /* Token Description Example @presenter BorderRadius */
}
```

Expand Down

0 comments on commit 51dc216

Please sign in to comment.