UNPKG

@atlaskit/tokens

Version:

Design tokens are the single source of truth to name and store design decisions.

17 lines (16 loc) 613 B
import { type ThemeState } from './theme-state'; /** * Synchronously generates and applies custom theme styles to the page. * * @param {Object<string, string>} themeState The themes and color mode that should be applied. * @param {Object} themeState.UNSAFE_themeOptions The custom branding options to be used for custom theme generation * * @example * ``` * UNSAFE_loadCustomThemeStyles({ * colorMode: 'auto', * UNSAFE_themeOptions: { brandColor: '#FF0000' } * }); * ``` */ export declare const UNSAFE_loadCustomThemeStyles: ({ colorMode, UNSAFE_themeOptions, }?: Partial<ThemeState>) => void;