Skip to content

Commit d04b822

Browse files
committed
docs: Using vuepress-theme-default-vue-a11y
1 parent 5a89de4 commit d04b822

File tree

6 files changed

+52
-34
lines changed

6 files changed

+52
-34
lines changed

docs/.vuepress/components/GlobalLayout.vue

Lines changed: 0 additions & 22 deletions
This file was deleted.

docs/.vuepress/config.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,17 @@
11
module.exports = {
2+
theme: 'vuepress-theme-default-vue-a11y',
23
title: 'Vue announcer',
34
description: '',
45
serviceWorker: true,
56
themeConfig: {
67
home: false,
78
repo: 'vue-a11y/vue-announcer',
89
docsDir: 'docs',
10+
colorMode: {
11+
props: {
12+
modes: ['light', 'dark', 'system', 'sepia']
13+
}
14+
},
915
locales: {
1016
'/': {
1117
editLinkText: 'Edit this page on GitHub',

docs/.vuepress/enhanceApp.js

Lines changed: 0 additions & 7 deletions
This file was deleted.

docs/.vuepress/index.js

Lines changed: 0 additions & 3 deletions
This file was deleted.

package-lock.json

Lines changed: 44 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,8 @@
8181
"vue": "^2.6.11",
8282
"vue-jest": "^3.0.5",
8383
"vue-template-compiler": "^2.6.11",
84-
"vuepress": "^1.3.1"
84+
"vuepress": "^1.3.1",
85+
"vuepress-theme-default-vue-a11y": "^0.1.5"
8586
},
8687
"directories": {
8788
"doc": "docs",

0 commit comments

Comments
 (0)