Skip to content

Commit 5854896

Browse files
authored
docs: correct location of initialColorModeName: 'light' (#1922)
1 parent 269c950 commit 5854896

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

packages/docs/src/pages/color-modes.mdx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ for optional color modes.
1515
```js
1616
// example theme colors
1717
{
18-
initialColorModeName: 'light',
18+
config: {
19+
initialColorModeName: 'light',
20+
}
1921
colors: {
2022
text: '#000',
2123
background: '#fff',
@@ -52,7 +54,9 @@ be accessible as
5254

5355
```js
5456
{
55-
initialColorModeName: 'light',
57+
config: {
58+
initialColorModeName: 'light',
59+
}
5660
rawColors: {
5761
primary: '#07c',
5862
modes: {

0 commit comments

Comments
 (0)