Skip to content

Commit 2b40e7e

Browse files
committed
docs: fix: palette link in docs broken (close: #1019)
1 parent 8af52db commit 2b40e7e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/docs/docs/theme/writing-a-theme.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ The compiled content of the current `.md` file being rendered will be available
2929

3030
## Directory Structure
3131

32-
Just one `Layout.vue` might not be enough, and you might also want to define more layout components in the theme for using on different pages. You may also want to customize the [palette](../config/README.md#palette), and even apply some plugins.
32+
Just one `Layout.vue` might not be enough, and you might also want to define more layout components in the theme for using on different pages. You may also want to customize the [palette](../config/README.md#palette-styl), and even apply some plugins.
3333

3434
So it's time to reorganize your theme, an agreed theme directory structure is as follows:
3535

@@ -56,7 +56,7 @@ themePath
5656
- `theme/global-components`: Components under this directory will be automatically registered as global components. For details, please refer to [@vuepress/plugin-register-components](https://github.com/vuejs/vuepress/tree/master/packages/@vuepress/plugin-register-components).
5757
- `theme/components`: Your components.
5858
- `theme/layouts`: Layout components of the theme, where `Layout.vue` is required.
59-
- `theme/styles`: Global style and palette.
59+
- `theme/styles`: Global style and palette.
6060
- `theme/templates`: Modify default template.
6161
- `theme/index.js`: Entry file of theme configuration.
6262
- `theme/enhanceApp.js`: Theme level enhancements.

0 commit comments

Comments
 (0)