docs: update README and improve documentation styling

- Redesign README with better visual hierarchy and styling
- Update documentation styles including line height and blockquote formatting
- Remove BOM character from ai-capability-dictionary.md
- Add Setting icon import to Layout.vue
This commit is contained in:
sanbuphy
2026-01-13 15:42:48 +08:00
parent 0a0a22add3
commit 0b1473bcc3
5 changed files with 139 additions and 80 deletions
+2 -1
View File
@@ -3,6 +3,7 @@ import DefaultTheme from 'vitepress/theme'
import { useData } from 'vitepress'
import TextType from './components/TextType.vue'
import { onMounted, ref, watch } from 'vue'
import { Setting } from '@element-plus/icons-vue'
const { frontmatter } = useData()
@@ -21,7 +22,7 @@ const MAX_FONT_SIZE = 18
const DEFAULT_FONT_SIZE = 13
const MIN_LINE_HEIGHT = 1.25
const MAX_LINE_HEIGHT = 1.8
const DEFAULT_LINE_HEIGHT = 1.5
const DEFAULT_LINE_HEIGHT = 1.65
const fontSize = ref(DEFAULT_FONT_SIZE)
const lineHeight = ref(DEFAULT_LINE_HEIGHT)