Skip to content

Commit a86357f

Browse files
committed
feat(vuepress-demo): 升级vuepress模块,修改demo文档说明和样式
1 parent 293280a commit a86357f

File tree

5 files changed

+9
-13
lines changed

5 files changed

+9
-13
lines changed

apps/vuepress-demo/docs/.vuepress/styles/config.scss

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,10 @@
1010
//material-light
1111
//one-light
1212
//vs
13-
//$code-light-theme: 'coldark-cold';
14-
//
15-
//// 深色主题
16-
//$code-dark-theme: 'atom-dark';
17-
13+
$code-light-theme: 'coldark-cold';
14+
// 深色主题
15+
$code-dark-theme: 'atom-dark';
1816
// 主题色 配合outlook显示
1917
$theme-color: #fb9b5f;
18+
2019
//$theme-colors: #2196f3, #f26d6d, #3eaf7c, #fb9b5f;

apps/vuepress-demo/docs/.vuepress/styles/index.scss

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@
33
// 全站主题色
44
:root {
55
// brand colors
6-
// --c-brand: #3eaf7c;
7-
// --c-brand-light: #4abf8a;
8-
96
--c-brand: #4ce9ad;
107
--c-brand-light: #42b983;
118

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//$sidebar-width: 20rem;
1+
$sidebar-width: 20rem;
22
//$sidebar-mobile-width: 16rem;
33
//$content-width: 75rem;
44
$home-page-width: 80rem;

apps/vuepress-demo/docs/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ features:
2929

3030
```bash:no-line-numbers
3131
# 安装vuepress
32-
pnpm i vuepress -D
32+
pnpm i vuepress@2.0.0-rc.17 -D
3333
3434
# 安装vite-bundle编译模块
35-
pnpm i @vuepress/bundler-vite -D
35+
pnpm i @vuepress/bundler-vite@2.0.0-rc.17 -D
3636
3737
# 安装@142vip/vuepress模块
3838
pnpm i @142vip/vuepress -D

apps/vuepress-demo/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
},
1818
"devDependencies": {
1919
"@142vip/vuepress": "workspace:*",
20-
"@vuepress/bundler-vite": "2.0.0-rc.15",
21-
"vuepress": "2.0.0-rc.15"
20+
"@vuepress/bundler-vite": "2.0.0-rc.17",
21+
"vuepress": "2.0.0-rc.17"
2222
}
2323
}

0 commit comments

Comments
 (0)