1
0
mirror of https://github.com/142vip/408CSFamily.git synced 2026-04-13 18:00:58 +08:00

feat: 升级hope主题版本,支持主题色设置,优化build命令日志

This commit is contained in:
chufan
2024-10-06 00:30:45 +08:00
parent db2a791299
commit 8d83e4cb74
4 changed files with 1154 additions and 1078 deletions

View File

@@ -1,4 +1,4 @@
// 参考https://theme-hope.vuejs.press/zh/guide/interface/code-theme.htm
// 参考https://theme-hope.vuejs.press/zh/guide/interface/code-theme.html
// 浅色主题
$code-light-them: 'coldark-cold';
@@ -9,4 +9,4 @@ $code-dark-theme: 'atom-dark';
// 主题色
// $theme-colors: #2196f3, #f26d6d, #3eaf7c, #fb9b5f;
$theme-color: #6184e8;
$theme-color: #2196f3;

View File

@@ -82,7 +82,7 @@ export default {
}),
// 代码块
mdEnhance: {
codetabs: true,
// codetabs: true,
tasklist: true, // 支持任务列表
playground: {
presets: ['ts', 'vue'],
@@ -105,7 +105,7 @@ export default {
],
sub: true,
sup: true,
tabs: true,
// tabs: true,
vPre: true,
vuePlayground: true,
// 文件导入
@@ -136,6 +136,9 @@ export default {
'/': searchProCNLocals,
},
},
// 参考https://theme-hope.vuejs.press/zh/config/plugins/others.html#markdowntab
markdownTab: true,
nprogress: true,
// 代码高亮https://theme-hope.vuejs.press/zh/guide/feature/code-block.html
shiki: {
langs: ['ts', 'js', 'json', 'vue', 'json5', 'bash', 'diff', 'c', 'c++', 'dockerfile', 'nginx', 'proto', 'java', 'javascript', 'typescript'],

View File

@@ -33,9 +33,11 @@
"@142vip/fairy-cli": "^0.0.3-alpha.11",
"@142vip/utils": "^0.0.1-alpha.5",
"@vue/repl": "^4.3.1",
"@vuepress/bundler-vite": "2.0.0-rc.15",
"@vuepress/bundler-vite": "2.0.0-rc.17",
"@vuepress/plugin-feed": "2.0.0-rc.3",
"@vuepress/plugin-markdown-image": "2.0.0-rc.30",
"@vuepress/plugin-markdown-tab": "2.0.0-rc.47",
"@vuepress/plugin-redirect": "2.0.0-rc.8",
"dashjs": "^4.7.4",
"hls.js": "^1.5.13",
"markmap-cli": "^0.15.8",
@@ -46,10 +48,9 @@
"vercel": "^32.7.2",
"vidstack": "^1.11.30",
"vue": "^3.5.8",
"vuepress": "2.0.0-rc.15",
"vuepress-plugin-search-pro": "2.0.0-rc.53",
"vuepress-theme-hope": "2.0.0-rc.53",
"webpack": "^5.91.0",
"vuepress": "2.0.0-rc.17",
"vuepress-plugin-search-pro": "2.0.0-rc.57",
"vuepress-theme-hope": "2.0.0-rc.56",
"xmind-embed-viewer": "^1.2.0"
}
}

2210
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff