Skip to content

Commit 97a5bbb

Browse files
committed
style(docs): adjust light mode styles and update funding config
- Modify light mode styles for better visual hierarchy and subtlety - Update FUNDING.yml to include multiple funding options and custom URLs
1 parent 23297d0 commit 97a5bbb

File tree

2 files changed

+20
-14
lines changed

2 files changed

+20
-14
lines changed

.github/FUNDING.yml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,15 @@
1-
open_collective: vue-hooks-plus
2-
github: [NelsonYong]
1+
github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
2+
patreon: # Replace with a single Patreon username
3+
open_collective: # Replace with a single Open Collective username
4+
ko_fi: # Replace with a single Ko-fi username
5+
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
6+
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
7+
liberapay: # Replace with a single Liberapay username
8+
issuehunt: # Replace with a single IssueHunt username
9+
otechie: # Replace with a single Otechie username
10+
lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
11+
custom:
12+
[
13+
'https://raw.githubusercontent.com/InhiblabCore/vue-hooks-plus/master/packages/hooks/docs/public/wx.JPG',
14+
'https://raw.githubusercontent.com/InhiblabCore/vue-hooks-plus/master/packages/hooks/docs/public/zfb.JPG',
15+
]

docs/.vitepress/theme/styles.css

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -37,30 +37,23 @@
3737
/* 添加内阴影增加层次感 */
3838
border: none;
3939
}
40-
41-
4240
}
4341

44-
/* 亮色模式拟物圆角 - 突出版 */
42+
/* 亮色模式拟物圆角 - 轻微版 */
4543
.vitepress-demo {
4644
border-radius: 8px !important;
4745
overflow: hidden;
4846
margin-top: 8px;
49-
background: #ffffff;
50-
/* 更亮的背景色 */
47+
background: #f0f0f0;
5148
box-shadow:
52-
4px 4px 8px rgba(0, 0, 0, 0.1),
53-
/* 更强的阴影 */
54-
-4px -4px 8px rgba(255, 255, 255, 0.8),
55-
/* 更亮的高光 */
56-
inset 0 0 10px rgba(0, 0, 0, 0.05);
57-
/* 添加内阴影增加层次感 */
49+
4px 4px 8px rgba(0, 0, 0, 0.05),
50+
-4px -4px 8px rgba(255, 255, 255, 0.6);
5851
border: none;
5952
}
6053

6154
input {
6255
opacity: 1;
63-
background-color: var(--vp-code-bg);
56+
background-color: var(--vhp-func-bg);
6457
padding-left: 8px;
6558
height: 36px;
6659
font-weight: 500;

0 commit comments

Comments
 (0)