style: improved docs

This commit is contained in:
Neko Ayaka
2025-08-19 15:26:17 +08:00
parent 48296e2fa3
commit c2a520e1d1
2 changed files with 15 additions and 26 deletions
+2 -2
View File
@@ -3,6 +3,6 @@ title: Introduction
description: Get to know the UI of Project AIRI
---
For guides that help you understand how to contribute to this project, please refer to [Contributing](../references/contributing/guide/) page.
For guides that help you understand how to contribute to this project, please refer to [Contributing](../overview/contributing/) page.
For references Contributing help you design and improve the UI of Project AIRI, please refer to [Design Guidelines](../references/design-guidelines/) page.
For references Contributing help you design and improve the UI of Project AIRI, please refer to [Design Guidelines](../overview/contributing/design-guidelines/resources) page.
+13 -24
View File
@@ -7,13 +7,26 @@ export default defineConfig({
presetTypography({
cssExtend: {
'a': {
'color': '#7f8993',
'text-decoration': 'underline',
'text-decoration-style': 'dotted',
'text-decoration-color': '#ced5e6',
'transition': 'color 0.2s ease-in-out',
},
'a:hover': {
'--primary': '207 62% 59%',
'color': 'hsl(var(--primary))',
},
'.dark a': {
'color': '#9ca0a4',
'text-decoration-color': '#4b5056',
},
'code::before': {
content: 'normal',
},
'code::after': {
content: 'normal',
},
},
}),
presetWind3(),
@@ -37,30 +50,6 @@ export default defineConfig({
},
},
}),
presetTypography({
cssExtend: {
'a': {
'text-decoration': 'none',
'font-weight': '600',
'border-bottom': '1px solid hsl(var(--primary))',
},
'a:hover': {
'border-bottom-width': '2px',
},
'code': {
'border': '1px solid hsl(var(--border))',
'border-radius': '0.375rem',
'padding': '0.25rem',
'line-height': '1rem',
},
'code::before': {
content: 'normal',
},
'code::after': {
content: 'normal',
},
},
}),
presetIcons(),
],
content: {