UNPKG

@atlaskit/tokens

Version:

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

29 lines (26 loc) 692 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.themeStateDefaults = void 0; /** * 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. */ function getMotionDefault() { return 'motion'; } /** * themeStateDefaults: the default values for ThemeState used by theming utilities */ var themeStateDefaults = exports.themeStateDefaults = { colorMode: 'auto', contrastMode: 'auto', dark: 'dark', light: 'light', shape: 'shape', spacing: 'spacing', typography: 'typography', motion: getMotionDefault, UNSAFE_themeOptions: undefined };