Skip to content

Commit 33a648a

Browse files
committed
WIP 12
1 parent ea769d5 commit 33a648a

File tree

2 files changed

+17
-6
lines changed

2 files changed

+17
-6
lines changed

docs/.vitepress/theme/style/var.css

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,36 @@
11
:root {
2+
3+
/* 亮色模式主题色 */
4+
--miuix-color-primary: #3482FF;
5+
26
/* 主要字体 */
37
--vp-font-family-base: 'MiSans VF', 'Inter', ui-sans-serif, system-ui, sans-serif,
48
'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
59

610
/* 主要主题色 */
7-
--vp-c-brand-1: #3482FF;
11+
--vp-c-brand-1: var(--miuix-color-primary);
12+
13+
/* 快速开始按钮颜色 */
14+
--vp-button-brand-bg: var(--miuix-color-primary);
815

916
/* hero 标题颜色 */
1017
--vp-home-hero-name-color: transparent;
11-
--vp-home-hero-name-background: #3482FF;
18+
--vp-home-hero-name-background: var(--miuix-color-primary);
1219

1320
/* hero logo 背景颜色 */
14-
--vp-home-hero-image-background-image: linear-gradient(#3482FF, #3482FF);
21+
--vp-home-hero-image-background-image: linear-gradient(var(--miuix-color-primary), var(--miuix-color-primary));
1522
--vp-home-hero-image-filter: blur(40px);
23+
24+
}
25+
26+
/* 深色模式主题色 */
27+
.dark {
28+
--miuix-color-primary: #277AF7;
1629
}
1730

1831
/* 标题颜色 */
1932
.VPDoc h1 {
20-
background: #3482FF;
33+
background: var(--miuix-color-primary);
2134
background-clip: text;
2235
-webkit-background-clip: text;
2336
-webkit-text-fill-color: transparent;

docs/guide/getting-started.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
# 快速开始
44

5-
## 使用须知
6-
75
当前支持的平台: **Android** / **Desktop(JVM)** / **iOS** / **WasmJs** / **Js** / **macOS(Native)**
86

97
::: warning 注意

0 commit comments

Comments
 (0)