@atlaskit/theme
Version:
Theme contains solutions for global theming, colors, and other useful mixins.
13 lines (12 loc) • 465 B
TypeScript
import type { DefaultValue, ThemedValue, ThemeModes } from '../types';
type Modes<V> = {
[key in ThemeModes]?: V;
};
type VariantModes<V> = {
[index: string]: Modes<V>;
};
/**
* @deprecated {@link https://hello.atlassian.net/browse/ENGHEALTH-4693 Internal documentation for deprecation (no external access)}
*/
export default function themed<V = DefaultValue>(modesOrVariant: Modes<V> | string, variantModes?: VariantModes<V>): ThemedValue<V>;
export {};