UNPKG

@atlaskit/tokens

Version:

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

35 lines (34 loc) 1.94 kB
/** * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen} * * This file contains a dynamic import for each theme this package exports. * Themes are loaded asynchronously at runtime to minimise the amount of CSS we send to the client. * This allows users to compose their themes and only use the tokens that are requested. * When a new theme is created, the import should automatically be added to the map * * @codegen <<SignedSource::a20c72d683b08b594c5be4160eec5f78>> * @codegenCommand yarn build tokens */ const themeImportsMap = { 'light': () => import( /* webpackChunkName: "@atlaskit-internal_atlassian-light" */ './themes/atlassian-light'), 'light-future': () => import( /* webpackChunkName: "@atlaskit-internal_atlassian-light-future" */ './themes/atlassian-light-future'), 'light-increased-contrast': () => import( /* webpackChunkName: "@atlaskit-internal_atlassian-light-increased-contrast" */ './themes/atlassian-light-increased-contrast'), 'dark': () => import( /* webpackChunkName: "@atlaskit-internal_atlassian-dark" */ './themes/atlassian-dark'), 'dark-future': () => import( /* webpackChunkName: "@atlaskit-internal_atlassian-dark-future" */ './themes/atlassian-dark-future'), 'dark-increased-contrast': () => import( /* webpackChunkName: "@atlaskit-internal_atlassian-dark-increased-contrast" */ './themes/atlassian-dark-increased-contrast'), 'spacing': () => import( /* webpackChunkName: "@atlaskit-internal_atlassian-spacing" */ './themes/atlassian-spacing'), 'typography': () => import( /* webpackChunkName: "@atlaskit-internal_atlassian-typography" */ './themes/atlassian-typography'), 'shape': () => import( /* webpackChunkName: "@atlaskit-internal_atlassian-shape" */ './themes/atlassian-shape'), 'motion': () => import( /* webpackChunkName: "@atlaskit-internal_atlassian-motion" */ './themes/atlassian-motion') }; export default themeImportsMap;