vitepress-theme-element-plus 0.0.8 → 0.0.10
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.
|
@@ -136,7 +136,7 @@ appContext.app.component('ApiTyping', ApiTyping)
|
|
|
136
136
|
|
|
137
137
|
@media screen and (min-width: 1440px) {
|
|
138
138
|
.VPContent.has-sidebar {
|
|
139
|
-
padding-left: calc(var(--vp-sidebar-width-small) +
|
|
139
|
+
padding-left: calc(var(--vp-sidebar-width-small) + 32px)
|
|
140
140
|
}
|
|
141
141
|
}
|
|
142
142
|
|
|
@@ -76,8 +76,5 @@ const target = computed(() =>
|
|
|
76
76
|
:deep(.el-tag.el-tag--primary) {
|
|
77
77
|
background-color: var(--bg-brand-color);
|
|
78
78
|
color: var(--vp-c-brand);
|
|
79
|
-
--el-tag-bg-color: var(--vp-c-brand-soft);
|
|
80
|
-
--el-tag-border-color: var(--vp-c-brand-3);
|
|
81
|
-
--el-tag-hover-color: var(--vp-c-brand);
|
|
82
79
|
}
|
|
83
80
|
</style>
|
|
@@ -181,7 +181,7 @@ function onLinkAreaClick(e: MouseEvent) {
|
|
|
181
181
|
|
|
182
182
|
.text {
|
|
183
183
|
flex-grow: 1;
|
|
184
|
-
line-height:
|
|
184
|
+
line-height: 20px;
|
|
185
185
|
transition: color 0.25s;
|
|
186
186
|
}
|
|
187
187
|
.text-icon {
|
|
@@ -201,7 +201,6 @@ function onLinkAreaClick(e: MouseEvent) {
|
|
|
201
201
|
color: var(--vp-c-text-1);
|
|
202
202
|
font-size: 1rem;
|
|
203
203
|
font-weight: 700;
|
|
204
|
-
margin-bottom: 8px;
|
|
205
204
|
line-height: 24px;
|
|
206
205
|
}
|
|
207
206
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vitepress-theme-element-plus",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.10",
|
|
5
5
|
"description": "A VitePress theme for Element Plus",
|
|
6
6
|
"author": "Hezhengxu",
|
|
7
7
|
"license": "MIT",
|
|
@@ -35,12 +35,10 @@
|
|
|
35
35
|
"styles"
|
|
36
36
|
],
|
|
37
37
|
"scripts": {
|
|
38
|
-
"clean": "rimraf dist",
|
|
39
38
|
"build": "tsdown",
|
|
40
39
|
"build:watch": "tsdown --watch",
|
|
41
|
-
"lint": "eslint ./ --fix",
|
|
42
40
|
"prepublishOnly": "pnpm run build",
|
|
43
|
-
"release": "release
|
|
41
|
+
"release": "pnpm -C ../.. release"
|
|
44
42
|
},
|
|
45
43
|
"peerDependencies": {
|
|
46
44
|
"vitepress": "2.0.0-alpha.12"
|
|
@@ -49,15 +47,12 @@
|
|
|
49
47
|
"@iconify/vue": "^4"
|
|
50
48
|
},
|
|
51
49
|
"devDependencies": {
|
|
52
|
-
"@release-it/conventional-changelog": "^10",
|
|
53
50
|
"@types/glob": "^9.0.0",
|
|
54
51
|
"@types/markdown-it": "^14.1.0",
|
|
55
52
|
"@types/node": "^22.17.0",
|
|
56
53
|
"@vitejs/plugin-vue": "^5.2.4",
|
|
57
54
|
"@vueuse/core": "^11.3.0",
|
|
58
55
|
"element-plus": "^2.11.7",
|
|
59
|
-
"release-it": "^19",
|
|
60
|
-
"rimraf": "^6.0.1",
|
|
61
56
|
"sass-embedded": "^1.80.3",
|
|
62
57
|
"tsdown": "0.16.0",
|
|
63
58
|
"typescript": "^5.9.2",
|
package/styles/index.scss
CHANGED
|
@@ -8,8 +8,6 @@
|
|
|
8
8
|
--vp-nav-logo-height: 28px;
|
|
9
9
|
--vp-c-brand: var(--el-color-primary);
|
|
10
10
|
--vp-c-brand-1: var(--vp-c-brand);
|
|
11
|
-
--vp-c-brand-2: var(--el-color-primary-light-5);
|
|
12
|
-
--vp-c-brand-3: var(--el-color-primary-light-8);
|
|
13
11
|
--vp-c-brand-soft: var(--el-color-primary-light-9);
|
|
14
12
|
--vp-c-bg: var(--el-bg-color);
|
|
15
13
|
--text-color: var(--el-text-color-primary);
|