Skip to content

Commit 6637285

Browse files
authored
Merge pull request #558 from allanpope/add-docs-for-shadowing-style-guide
Add docs for shadowing style guide
2 parents 6603699 + 6e12565 commit 6637285

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
## Unreleased
44

55
- `@theme-ui/components`: on Grid component, allow custom `columns` definitions via strings #541
6+
- `@theme-ui/gatsby-theme-style-guide`: add docs on shadowing #558
67
- Adds `@theme-ui/preset-polaris` #567
78
- Adjusts default font stack in presets #568
89

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ module.exports = {
3838

3939
## Shadowing
4040

41-
Shadow the following components to customize the layout and order of the page.
41+
You can customize the layout and order of the page by [shadowing](https://www.gatsbyjs.org/docs/themes/shadowing/) the theme.
4242

4343
component | description
4444
---|---
@@ -48,3 +48,4 @@ component | description
4848
`src/typography.js` | section for typography styles
4949
`src/colors.js` | section for colors
5050

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)