Theme Yun
TIP
Type definitions: valaxy-theme-yun/types/index.d.ts
valaxy-theme-yun is the default blog theme for Valaxy. It focuses on personal blogs, post archives, friend links, animated home banners, and theme-level customization.
Quick Start
bash
pnpm add valaxy-theme-yunts
import type { ThemeConfig } from 'valaxy-theme-yun'
import { defineValaxyConfig } from 'valaxy'
export default defineValaxyConfig<ThemeConfig>({
theme: 'yun',
themeConfig: {
type: 'nimbo',
},
})You can also extract the theme config into a separate theme.config.ts file:
ts
import { defineThemeConfig } from 'valaxy-theme-yun'
export default defineThemeConfig({
type: 'nimbo',
})Documentation Map
- Config Reference: theme type, colors, navigation, pages, sidebar, and footer.
- Layout And Visuals: banner, background image, and layout-related options.
- Widgets And Pages: notice, say, fireworks, post card types, menu, and friend links.
- Customization: edit links, outline title, and style overrides.