Skip to content

Commit 9c7c1a2

Browse files
authored
fix(gatsby-recipes): updated chakra ui recipe after v1 release (#28270)
1 parent 1398674 commit 9c7c1a2

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed
Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,34 @@
11
# Setup Gatsby with Chakra UI
22

3-
[Chakra UI](https://chakra-ui.com/) provides a set of accessible, reusable, and composable React components that make it super easy to create websites and apps.
3+
[Chakra UI](https://chakra-ui.com/) is a simple, modular and accessible component library that gives you the building blocks you need to build your React applications.
44

5-
This recipes sets up and configures [gatsby-plugin-chakra-ui](https://www.gatsbyjs.com/plugins/gatsby-plugin-chakra-ui/) by installing it's dependencies and shadowing `theme.js` file to create a custom theme.
5+
This recipes sets up and configures [@chakra-ui/gatsby-plugin](https://www.gatsbyjs.com/plugins/@chakra-ui/gatsby-plugin/) by installing it's dependencies and shadowing `theme.js` file to create a custom theme.
66

77
---
88

99
## Installs necessary NPM packages
1010

11-
<NPMPackage name="@emotion/react" />
11+
<NPMPackage name="framer-motion" />
1212
<NPMPackage name="@emotion/styled" />
13-
<NPMPackage name="@chakra-ui/core" />
14-
<NPMPackage name="gatsby-plugin-chakra-ui" />
13+
<NPMPackage name="@emotion/react" />
14+
<NPMPackage name="@chakra-ui/react" />
15+
<NPMPackage name="@chakra-ui/gatsby-plugin" />
1516

1617
---
1718

18-
## Installs `gatsby-plugin-chakra-ui` in `gatsby-config.js`
19+
## Installs `@chakra-ui/gatsby-plugin` in `gatsby-config.js`
1920

20-
<GatsbyPlugin name="gatsby-plugin-chakra-ui" />
21+
<GatsbyPlugin name="@chakra-ui/gatsby-plugin" />
2122

2223
---
2324

24-
## Creates gatsby-plugin-chakra-ui `theme.js` file so you can customize your own global styles
25+
## Creates @chakra-ui/gatsby-plugin `theme.js` file so you can customize your own global styles
2526

26-
<GatsbyShadowFile theme="gatsby-plugin-chakra-ui" path="src/theme.js" />
27+
<GatsbyShadowFile theme="@chakra-ui/gatsby-plugin" path="src/theme.js" />
2728

2829
---
2930

3031
## Once you've installed this recipe, you're ready to get started!
3132

32-
- [Learn more about plugin options](https://github.com/chakra-ui/chakra-ui/tree/develop/tooling/gatsby-plugin-chakra-ui#plugin-options)
33-
- [Read more about Chakra UI on the official Chakra docs site](https://chakra-ui.com/getting-started)
33+
- [Learn more about plugin options](https://github.com/chakra-ui/chakra-ui/tree/develop/tooling/gatsby-plugin#plugin-options)
34+
- [Read more about Chakra UI on the official Chakra docs site](https://chakra-ui.com/docs/getting-started)

0 commit comments

Comments
 (0)