Skip to content

Commit 9bbc8f6

Browse files
Change default theme of the docs (GH-37)
2 parents 70b1239 + 7bd94f3 commit 9bbc8f6

File tree

3 files changed

+16
-2
lines changed

3 files changed

+16
-2
lines changed

docs/.vitepress/config.js

Lines changed: 4 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"serve": "vitepress serve"
88
},
99
"dependencies": {
10-
"vitepress": "^1.0.0-alpha.75",
10+
"vitepress": "^1.0.0-rc.4",
1111
"vue": "^3.3.2"
1212
}
1313
}

docs/public/index.css

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
:root {
2+
--vp-c-brand: rgb(68, 183, 139);
3+
--vp-c-brand-light: var(--vp-c-brand);
4+
--vp-c-brand-lighter: var(--vp-c-brand);
5+
--vp-c-brand-lightest: var(--vp-c-brand);
6+
--vp-c-brand-dark: var(--vp-c-brand);
7+
--vp-c-brand-darker: rgba(68, 183, 139, 0.8);
8+
9+
--vp-button-brand-bg: var(--vp-c-brand);
10+
--vp-button-brand-active-bg: var(--vp-button-brand-bg);
11+
}

0 commit comments

Comments
 (0)