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:
@@ -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;
|
||||
|
||||
@@ -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'],
|
||||
|
||||
11
package.json
11
package.json
@@ -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
2210
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user