Skip to content

Commit 2b10066

Browse files
committed
docs: correct adding custom properties to theme
1 parent 5eab178 commit 2b10066

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/docs/guides/02-theming.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,7 @@ const theme = {
170170
...DefaultTheme,
171171
// Specify custom property
172172
myOwnProperty: true,
173+
...DefaultTheme.colors,
173174
// Specify custom property in nested object
174175
colors: {
175176
myOwnColor: '#BADA55',

0 commit comments

Comments
 (0)