Skip to content

Commit c2a750d

Browse files
committed
docs: update docs UI
1 parent 35d6ff4 commit c2a750d

File tree

7 files changed

+1820
-318
lines changed

7 files changed

+1820
-318
lines changed

docs/.vitepress/theme/customs.css

Lines changed: 0 additions & 154 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 & 104 deletions
This file was deleted.

docs/.vitepress/theme/style.css

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
@import url('sborshik/vitepress/styles');
2+
@import url('sborshik/vitepress/animate-logo');
3+
4+
:root {
5+
--vp-c-brand-1: #ff745b;
6+
--vp-c-brand-2: #fb811f;
7+
--vp-c-brand-3: #fb581f;
8+
--vp-c-brand-soft: #fb581f33;
9+
10+
--custom-brand-1: #ff4a00;
11+
--custom-brand-2: #0066f6;
12+
--custom-brand-3: #0066f699;
13+
}
14+
15+
html.dark {
16+
--vp-c-brand-1: #ffae77;
17+
--vp-c-brand-2: #ff8a4f;
18+
--vp-c-brand-3: #fb681f;
19+
--custom-brand-1: #ff542f;
20+
--custom-brand-2: #3c8dff;
21+
}

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)