Skip to content

Interface: Config

Defined in: packages/valaxy/types/default-theme.ts:5

Properties

outline?

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

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

Custom header levels of outline in the aside component.

Default

ts
2

valaxyDarkOptions?

ts
optional valaxyDarkOptions: object;

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

circleTransition?

ts
optional circleTransition: boolean;

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

Zh

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

themeColor?

ts
optional themeColor: object;

Theme color

Zh

主题色

themeColor.dark?
ts
optional dark: string;

Theme color for dark mode

Zh

暗色主题色

themeColor.light?
ts
optional light: string;

Theme color for light mode

Zh

亮色主题色

useDarkOptions?

ts
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 的默认行为