UNPKG

@atlaskit/tokens

Version:

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

18 lines (17 loc) 801 B
/** * 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::3f58b313f1e628496675dd91b81ecfa1>> * @codegenCommand yarn build tokens */ import { type ThemeIds, type ThemeOverrideIds } from '../theme-config'; declare const themeImportsMap: Record<ThemeIds | ThemeOverrideIds, () => Promise<{ default: string; }>>; export { themeImportsMap as themeImportMap }; export default themeImportsMap;