@atlaskit/tokens
Version:
Design tokens are the single source of truth to name and store design decisions.
17 lines (16 loc) • 755 B
TypeScript
/**
* 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
*/
import { type ThemeIds, type ThemeOverrideIds } from '../theme-config';
declare const themeImportsMap: Record<ThemeIds | ThemeOverrideIds, () => Promise<{
default: string;
}>>;
export default themeImportsMap;