Skip to content

Commit 42e01b6

Browse files
author
jay.yang
committed
docs: remove hero name from homepage and comment out unused CSS variables
1 parent 9f70be3 commit 42e01b6

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

docs/.vitepress/theme/styles.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
:root {
1010
--vhp-func-bg: rgba(255, 255, 255, 0.08);
11-
--vp-home-hero-name-color: transparent;
11+
/* --vp-home-hero-name-color: transparent; */
1212
--vhp-demo-shadow-color: rgba(0, 0, 0, 0.3);
1313
--vp-code-line-number-color: var(--vp-c-text-dark-3);
1414
/* 浅色主题(灰白色调) */
@@ -255,6 +255,8 @@ input:focus {
255255
.VPHero .VPImage {
256256
filter: drop-shadow(-2px 4px 6px rgba(0, 0, 0, 0.2));
257257
padding: 18px;
258+
/* 居中缩放 */
259+
/* transform: scale(0.9) translate(-50%, -50%); */
258260
}
259261

260262
/* used in reference/default-theme-search */

docs/index.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
layout: home
44

55
hero:
6-
name: 'Vue hooks plus'
76
text: 'High-performance Hooks Library for Vue'
87
tagline: Your favorite vuejs library 🧲
98
actions:

0 commit comments

Comments
 (0)