Skip to content

Commit

Permalink
feat(docs): update design tokens readme reference (#2784)
Browse files Browse the repository at this point in the history
Co-authored-by: Ddouglasz <[email protected]>
  • Loading branch information
ddouglasz and Ddouglasz authored Apr 16, 2024
1 parent 2c130c2 commit 0bfbd9e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,9 @@ postcss([
You can also access the JavaScript variables like this

```js
import { customProperties } from '@commercetools-uikit/design-system';
import { designTokens } from '@commercetools-uikit/design-system';

const primary = customProperties.colorPrimary;
const primary = designTokens.colorPrimary;
```

> Please look at the [`custom-properties.ts`](https://github.com/commercetools/ui-kit/blob/main/design-system/src/custom-properties.ts) itself to inspect which variables are available.
> Please look at the [`design-tokens.ts`](https://github.com/commercetools/ui-kit/blob/main/design-system/src/design-tokens.ts) itself to inspect which variables are available.

0 comments on commit 0bfbd9e

Please sign in to comment.