Skip to content

Commit 4ca6b44

Browse files
author
jay.yang
committed
style: update text formatting and theme color in documentation
1 parent 4856ada commit 4ca6b44

File tree

3 files changed

+13
-19
lines changed

3 files changed

+13
-19
lines changed

docs/.vitepress/config/shared.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ export const shared = defineConfig({
7575
head: [
7676
['link', { rel: 'icon', type: 'image/svg+xml', href: `${process.env.NODE_ENV === 'production' ? '/vue-hooks-plus/logo.svg' : '/logo.svg'}` }],
7777
['link', { rel: 'icon', type: 'image/png', href: `${process.env.NODE_ENV === 'production' ? '/vue-hooks-plus/logo.png' : '/logo.png'}` }],
78-
['meta', { name: 'theme-color', content: '#5f67ee' }],
78+
['meta', { name: 'theme-color', content: '#000000' }],
7979
['meta', { property: 'og:type', content: 'website' }],
8080
['meta', { property: 'og:locale', content: 'en' }],
8181
['meta', { property: 'og:title', content: 'VueHooks plus | High-performance Hooks Library for Vue' }],
@@ -143,4 +143,4 @@ export const shared = defineConfig({
143143
})
144144
]
145145
}
146-
})
146+
})

docs/index.md

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,19 @@
33
layout: home
44

55
hero:
6-
name: "Vue hooks plus"
7-
text: "High-performance Hooks Library for Vue"
6+
name: 'Vue hooks plus'
7+
text: 'High-performance Hooks Library for Vue'
88
tagline: Your favorite vuejs library 🧲
99
actions:
1010
- theme: brand
11-
text: Quick Start
11+
text: Quick Start
1212
link: /guide/introduction
13-
- theme: alt
14-
text: Hooks list
15-
link: /hooks/useRequest/quick-start
1613
image:
1714
src: /logo.svg
1815
alt: Vue Hooks Plus
1916

2017
features:
21-
- title: 🛸 Hooks for vue3
18+
- title: 🛸 Hooks for vue3
2219
details: Contains a comprehensive collection of basic Hooks.
2320
- title: 🏄🏼‍♂️ Easy to learn and use
2421
details: Simple language and easy-to-use features, easy to use, detailed documentation.

docs/zh/index.md

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,40 +3,37 @@
33
layout: home
44

55
hero:
6-
name: "Vue hooks plus"
7-
text: "高性能的 vue hooks 库"
6+
name: 'Vue hooks plus'
7+
text: '高性能的 vue hooks 库'
88
tagline: 你喜欢的样子它都有 🧲
99
actions:
1010
- theme: brand
1111
text: 快速开始
1212
link: /zh/guide/introduction
13-
- theme: alt
14-
text: Hooks 列表
15-
link: /zh/hooks/useRequest/quick-start
16-
13+
1714
image:
1815
src: /logo.svg
1916
alt: Vue Hooks Plus
2017

2118
features:
2219
- title: 🛸 Vue3 的 Hooks
23-
details: 基础和高级的 hook, 高性能逻辑的抽象封装,满足大量场景。
20+
details: 基础和高级的 hook, 高性能逻辑的抽象封装,满足大量场景。
2421
- title: 🏄🏼‍♂️ 简洁易用
2522
details: 简洁的语法和易用的特性,轻松上手,详细的文档。
2623
- title: 🎯 TypeScript
2724
details: 使用 TypeScript 构建,提供完整的类型定义文件,安全严谨。
2825
- title: 🎪 交互式demo演示
2926
details: 眼见为实,身临其境。
3027
- title: 🔋 支持 SSR
31-
details: 服务器端渲染的友好支持。
28+
details: 服务器端渲染的友好支持。
3229
- title: 🦾 useRequest
3330
details: 基于插件模式设计的请求函数。
3431
- title: 🤺 演练场
3532
details: 在线编码,大有用武之地。
3633
- title: 🧩 按需加载
37-
details: 拿你想要,包体积更小。
34+
details: 拿你想要,包体积更小。
3835
- title: 🔐 安全性
39-
details: 测试完善,安全可靠。
36+
details: 测试完善,安全可靠。
4037
---
4138

4239
<script setup>

0 commit comments

Comments
 (0)