Skip to content
This repository was archived by the owner on Mar 8, 2025. It is now read-only.

Commit b862ea8

Browse files
committed
docs: update readme.md
1 parent ce79ab8 commit b862ea8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Extend & Extend Theme token is described as the following section.
4848
`app/layout.tsx`
4949

5050
```tsx
51-
<DesignProvider cookies={cookies().getAll()} cookiesString={cookies().toString()} theme={AppTheme}>
51+
<DesignProvider initialColorMode={'dark' /* or light */ } theme={AppTheme}>
5252
{children}
5353
</DesignProvider>
5454
```
@@ -63,7 +63,7 @@ All components are wrapping of Chakra-UI components.
6363

6464
So you can use all the `styled-system` syntax used in it.
6565

66-
Currently, css variables always have a prefix of `--ck`, but this will be changed so that it can be set in a future update.
66+
Currently, css variables always have a prefix of `--ck`, this can be changed by chakra-ui `css-var-prefix` config feature.
6767

6868
For example, colors can be used in CSS like `var(--ck-colors-red-500)`.
6969

0 commit comments

Comments
 (0)