@atlaskit/tokens
Version:
Design tokens are the single source of truth to name and store design decisions.
15 lines (14 loc) • 533 B
TypeScript
import type { ThemeState } from './theme-state';
/**
* Can't evaluate typography feature flags at the module level,
* it will always resolve to false when server side rendered or when flags are loaded async.
*/
interface ThemeStateDefaults extends Omit<ThemeState, 'shape' | 'motion'> {
shape: () => ThemeState['shape'];
motion: () => ThemeState['motion'];
}
/**
* themeStateDefaults: the default values for ThemeState used by theming utilities
*/
export declare const themeStateDefaults: ThemeStateDefaults;
export {};