Skip to content
This repository was archived by the owner on Sep 20, 2024. It is now read-only.

Commit f4aec62

Browse files
authored
Merge branch 'develop' into docs/getting-started-code-group
2 parents 487095a + 352db04 commit f4aec62

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

website/pages/extending-theme.mdx

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,3 +61,17 @@ new Vue({
6161
}).$mount()
6262
```
6363

64+
### In Nuxt.js
65+
In your nuxt.config.js file, you can then add your custom theme object by passing it in the `extendTheme` option.
66+
67+
```js
68+
// Import your customTheme object
69+
import customTheme from 'custom-theme.js'
70+
export default {
71+
// ...
72+
chakra: {
73+
extendTheme: customTheme
74+
},
75+
// ...
76+
}
77+
```

0 commit comments

Comments
 (0)