Skip to content

Commit 9dfe080

Browse files
committed
docs: Using vuepress-theme-default-vue-a11y
1 parent 896d2ab commit 9dfe080

File tree

8 files changed

+41
-143
lines changed

8 files changed

+41
-143
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
node_modules
22
demo
33
dist
4-
.temp
4+
.temp
5+
docs-old

docs/.vuepress/components/GlobalLayout.vue

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

docs/.vuepress/config.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
module.exports = {
2+
theme: 'vuepress-theme-default-vue-a11y',
23
title: 'Vue dark-mode',
34
description: 'A component that helps to implement dark mode and other color modes in your Vue application.',
45
serviceWorker: true,
@@ -11,6 +12,11 @@ module.exports = {
1112
docsDir: 'docs',
1213
docsBranch: 'master',
1314
editLinks: true,
15+
colorMode: {
16+
props: {
17+
modes: ['light', 'dark', 'system', 'sepia']
18+
}
19+
},
1420
locales: {
1521
'/': {
1622
editLinkText: 'Edit this page on GitHub',

docs/.vuepress/enhanceApp.js

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

docs/.vuepress/index.js

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

docs/.vuepress/styles/index.styl

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

package-lock.json

Lines changed: 31 additions & 0 deletions
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
"standard-version": "^8.0.0",
8282
"vue": "^2.6.11",
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.4"
8586
},
8687
"dependencies": {
8788
"@vue-a11y/announcer": "^2.0.2",

0 commit comments

Comments
 (0)