Skip to content

Commit 8ddd9c1

Browse files
committed
docs: update docs UI
1 parent 969228b commit 8ddd9c1

File tree

7 files changed

+1822
-295
lines changed

7 files changed

+1822
-295
lines changed

docs/.vitepress/theme/customs.css

Lines changed: 0 additions & 132 deletions
This file was deleted.

docs/.vitepress/theme/index.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@
22
import { h } from 'vue';
33
import type { Theme } from 'vitepress';
44
import DefaultTheme from 'vitepress/theme';
5-
import './pallete.css';
6-
import './customs.css';
7-
import './logo-animate.css';
5+
import './style.css';
86
import 'uno.css';
97

108
export default {

docs/.vitepress/theme/logo-animate.css

Lines changed: 0 additions & 36 deletions
This file was deleted.

docs/.vitepress/theme/pallete.css

Lines changed: 0 additions & 103 deletions
This file was deleted.

docs/.vitepress/theme/style.css

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
@import url('sborshik/vitepress/styles');
2+
@import url('sborshik/vitepress/animate-logo');
3+
4+
:root {
5+
--vp-c-brand-1: #ff3572;
6+
--vp-c-brand-2: #ff3e51;
7+
--vp-c-brand-3: #fb1f35;
8+
--vp-c-brand-soft: #ff517a2b;
9+
10+
--custom-brand-1: #ff1148;
11+
--custom-brand-2: #ff7a32;
12+
--custom-brand-3: #ffbbcf;
13+
}
14+
15+
html.dark {
16+
--vp-c-brand-1: #ff5381;
17+
--vp-c-brand-2: #f54c5c;
18+
--vp-c-brand-3: #fb1f35;
19+
--vp-c-brand-soft: #ff517a2b;
20+
21+
--custom-brand-2: #ff510b;
22+
--custom-brand-3: #ff243d;
23+
}

docs/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"devDependencies": {
55
"@iconify-json/logos": "^1.1.44",
66
"@unocss/preset-icons": "^0.61.9",
7+
"sborshik": "^1.0.12",
78
"unocss": "^0.61.9",
89
"vite": "^5.3.1",
910
"vitepress": "^1.6.4"

0 commit comments

Comments
 (0)