@sugarat/create-theme 0.0.20 → 0.0.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -38,6 +38,7 @@ const blogTheme = getThemeConfig({
38
38
  // link: 'https://www.beian.gov.cn/portal/index.do'
39
39
  // },
40
40
  },
41
+
41
42
  // 主题色修改
42
43
  themeColor: 'el-blue',
43
44
 
@@ -1,10 +1,12 @@
1
- import { defineConfig } from '@sugarat/theme/node'
1
+ import { defineConfig } from 'vitepress'
2
+
3
+ // 导入主题的配置
2
4
  import { blogTheme } from './blog-theme'
3
5
 
4
6
  // Vitepress 默认配置
5
7
  // 详见文档:https://vitepress.dev/reference/site-config
6
8
  export default defineConfig({
7
- // 继承博客主题配置
9
+ // 继承博客主题(@sugarat/theme)
8
10
  extends: blogTheme,
9
11
  lang: 'zh-cn',
10
12
  title: '@sugarat/theme',
@@ -11,7 +11,7 @@
11
11
  },
12
12
  "dependencies": {
13
13
  "@element-plus/icons-vue": "^2.1.0",
14
- "@sugarat/theme": "^0.2.1",
14
+ "@sugarat/theme": "^0.2.2",
15
15
  "element-plus": "^2.3.8",
16
16
  "vue": "^3.3.4"
17
17
  },
@@ -21,6 +21,6 @@
21
21
  "devDependencies": {
22
22
  "sass": "^1.64.1",
23
23
  "typescript": "^5.1.6",
24
- "vitepress": "1.0.0-rc.17"
24
+ "vitepress": "1.0.0-rc.20"
25
25
  }
26
26
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sugarat/create-theme",
3
- "version": "0.0.20",
3
+ "version": "0.0.21",
4
4
  "description": "简约风的 Vitepress 博客主题,sugarat vitepress blog theme",
5
5
  "author": "粥里有勺糖",
6
6
  "license": "MIT",