Skip to content

Commit bf46cb1

Browse files
committed
Various config changes
1 parent 08fa319 commit bf46cb1

File tree

3 files changed

+17
-0
lines changed

3 files changed

+17
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
node_modules
2+
.vitepress/cache
23
.vitepress/dist
34
.secrets

.vitepress/config.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ export default defineConfig({
2323
link: 'https://github.com/vue-youtube/docs',
2424
},
2525
],
26+
search: {
27+
provider: 'local',
28+
},
2629
},
2730
head: [['link', { rel: 'icon', type: 'image/x-icon', href: '/docs/favicon.ico' }]],
31+
cleanUrls: true,
2832
});

.vitepress/theme/custom.css

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,18 @@
77
#35495E80 30%,
88
#42B88380);
99
--vp-home-hero-image-filter: blur(50px);
10+
11+
/* Link color */
12+
--vp-c-brand: #41b782;
13+
14+
/* Start page primary CTA button */
15+
--vp-button-brand-hover-border: #33a06f;
16+
--vp-button-brand-hover-bg: #42d392;
17+
--vp-button-brand-active-border: #33a06f;
18+
--vp-button-brand-active-bg: #42d392;
19+
20+
--vp-button-brand-border: #36ea9a;
21+
--vp-button-brand-bg: #41b782;
1022
}
1123

1224
.VPHome .VPHero p.text {

0 commit comments

Comments
 (0)