From 0bfbd9efc49d7539b092fe9802511497b12ad033 Mon Sep 17 00:00:00 2001 From: Douglas Egiemeh Date: Tue, 16 Apr 2024 10:02:56 +0200 Subject: [PATCH] feat(docs): update design tokens readme reference (#2784) Co-authored-by: Ddouglasz --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 97674e1cd4..2b601733ce 100644 --- a/README.md +++ b/README.md @@ -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.