Skip to content

Commit d78c44b

Browse files
committed
revert prettier formatting
1 parent d8b1311 commit d78c44b

File tree

1 file changed

+15
-11
lines changed

1 file changed

+15
-11
lines changed

packages/gatsby-theme-style-guide/README.md

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
12
# gatsby-theme-style-guide
23

34
Automatically generate a style guide page based on your Theme UI configuration, built with [`@theme-ui/style-guide`](https://theme-ui.com/style-guide).
@@ -9,7 +10,10 @@ npm i gatsby-theme-style-guide
910
```js
1011
// gatsby-config.js
1112
module.exports = {
12-
plugins: ['gatsby-plugin-theme-ui', 'gatsby-theme-style-guide'],
13+
plugins: [
14+
'gatsby-plugin-theme-ui',
15+
'gatsby-theme-style-guide',
16+
]
1317
}
1418
```
1519

@@ -26,22 +30,22 @@ module.exports = {
2630
options: {
2731
// sets path for generated page
2832
basePath: '/design-system',
29-
},
33+
}
3034
},
31-
],
35+
]
3236
}
3337
```
3438

3539
## Shadowing
3640

3741
You can customize the layout and order of the page by [shadowing](https://www.gatsbyjs.org/docs/themes/shadowing/) the theme.
3842

39-
| component | description |
40-
| ------------------- | -------------------------------- |
41-
| `src/template.js` | the root component for the page |
42-
| `src/layout.js` | wrapper for adding a page layout |
43-
| `src/header.js` | header for the top of the page |
44-
| `src/typography.js` | section for typography styles |
45-
| `src/colors.js` | section for colors |
43+
component | description
44+
---|---
45+
`src/template.js` | the root component for the page
46+
`src/layout.js` | wrapper for adding a page layout
47+
`src/header.js` | header for the top of the page
48+
`src/typography.js` | section for typography styles
49+
`src/colors.js` | section for colors
4650

47-
For example, to shadow the `template.js` file, you would create a file named `your-site/src/gatsby-theme-style-guide/template.js`
51+
For example, to shadow the `template.js` file, you would create a file named `your-site/src/gatsby-theme-style-guide/template.js`.

0 commit comments

Comments
 (0)