Skip to main content

setupTheme

Callable

  • setupTheme(input: { articles: undefined | PartialObjectDeep<{}, {}>; personal: undefined | PartialObjectDeep<{}, {}>; projects: undefined | PartialObjectDeep<{}, {}>; ramblings: undefined | PartialObjectDeep<{}, {}>; snippets: undefined | PartialObjectDeep<{}, {}> } & { base: {} }, ...rest: [selector?: string, updateFunction?: { <ThemeTokens>(selector: string, tokens: WithOptionalLayer<ThemeTokens>): Resolve<WithoutLayer<ThemeVars<ThemeTokens>>>; <ThemeContract>(selector: string, themeContract: ThemeContract, tokens: WithOptionalLayer<MapLeafNodes<ThemeContract, string>>): void }, family?: string]): void

  • Parameters

    • input: { articles: undefined | PartialObjectDeep<{}, {}>; personal: undefined | PartialObjectDeep<{}, {}>; projects: undefined | PartialObjectDeep<{}, {}>; ramblings: undefined | PartialObjectDeep<{}, {}>; snippets: undefined | PartialObjectDeep<{}, {}> } & { base: {} }
    • rest...rest: [selector?: string, updateFunction?: { <ThemeTokens>(selector: string, tokens: WithOptionalLayer<ThemeTokens>): Resolve<WithoutLayer<ThemeVars<ThemeTokens>>>; <ThemeContract>(selector: string, themeContract: ThemeContract, tokens: WithOptionalLayer<MapLeafNodes<ThemeContract, string>>): void }, family?: string]

    Returns void

Index

Properties

articles

articles: ThemeConfig

base

base: ThemeConfig

personal

personal: ThemeConfig

projects

projects: ThemeConfig

ramblings

ramblings: ThemeConfig

snippets

snippets: ThemeConfig