LOGOVALAXY
  • Config
  • API
Documentation navigation
  • client

  • node

    • Classes

    • Interfaces

    • Type Aliases

    • Variables

      • ALL_ROUTE

      • customElements

      • defaultSiteConfig

      • defaultValaxyConfig

      • defaultViteConfig

      • defineAddon

      • defineConfig

      • defineTheme

      • desktopRuntimeVersion

      • EXCERPT_SEPARATOR

      • GLOBAL_STATE

      • isInstalledGlobally

      • mergeValaxyConfig

      • PATHNAME_PROTOCOL_RE

      • version

    • Functions

  • types

Variable: defineTheme ​

Source: 1.0.0-rc.14 · a572916b42ec

ts
const defineTheme: <ThemeConfig>(theme) => 
  | ValaxyTheme<ThemeConfig>
  | ((options) => ValaxyTheme<ThemeConfig>) = defineValaxyTheme;

Defined in: packages/valaxy/node/config/theme.ts:50

Type Parameters ​

ThemeConfig ​

ThemeConfig = Config

Parameters ​

theme ​

| ValaxyTheme<ThemeConfig> | ((options) => ValaxyTheme<ThemeConfig>)

Returns ​

| ValaxyTheme<ThemeConfig> | ((options) => ValaxyTheme<ThemeConfig>)

Previous pagedefineConfig
Next pagedesktopRuntimeVersion
On this page

Released under the MIT License. (a572916b)

Copyright © 2022-present YunYouJun & Valaxy Contributors