Skip to content

Interface: Config

Properties

outline?

optional outline: number | false | [number, number] | "deep"

Custom header levels of outline in the aside component.

Default

ts
2

Defined in

packages/valaxy/types/default-theme.ts:47


valaxyDarkOptions?

optional valaxyDarkOptions: object

circleTransition?

optional circleTransition: boolean

Enable circle transition when toggling dark mode Then use toggleDarkWithTransition instead of toggleDark

Zh

启用圆形过渡切换暗黑模式

themeColor?

optional themeColor: object

Theme color

Zh

主题色

themeColor.dark?

optional dark: string

Theme color for dark mode

Zh

暗色主题色

themeColor.light?

optional light: string

Theme color for light mode

Zh

亮色主题色

useDarkOptions?

optional useDarkOptions: UseDarkOptions

Options for useDark disableTransition default is true Its options are not computed, init when loaded.

See

https://vueuse.org/core/useDark

Url

https://paco.me/writing/disable-theme-transitions

Zh

useDark 的选项 disableTransition 默认为 true,不会进行渐变过渡,这是 VueUse 的默认行为

Defined in

packages/valaxy/types/default-theme.ts:6