Configuration ​

Configure the theme in your blog’s valaxy.config.ts. Site metadata such as the author and description belongs in site.config.ts.

Set timezone in site.config.ts to format publication dates in your preferred time zone, for example Asia/Shanghai. The theme uses UTC when it is unset so dates stay consistent between static rendering and the browser.

ts
import type { ThemeConfig } from 'valaxy-theme-starter'
import { defineValaxyConfig } from 'valaxy'

export default defineValaxyConfig<ThemeConfig>({
  theme: 'starter',
  themeConfig: {
    colors: { primary: '#0078E7' },
    nav: [
      { text: 'Home', link: '/' },
      { text: 'About', link: '/about' },
    ],
    footer: { since: 2026 },
  },
})
OptionPurpose
colors.primaryPrimary accent color; defaults to #0078E7
navNavigation entries with text, link and an optional icon
footer.sinceFirst year shown in the footer
footer.poweredDisplay the framework/theme attribution
footer.beianOptional registration information

When adding or changing an option, update its type, default, example and this page together. Test it in the demo, including narrow viewports and both color schemes.