UNPKG

@atlaskit/tokens

Version:

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

44 lines (43 loc) 1.05 kB
/** * THIS FILE WAS CREATED VIA CODEGEN DO NOT MODIFY {@see http://go/af-codegen} * @codegen <<SignedSource::33ce7f44e704e6b32332ffdfac5776e4>> * @codegenCommand yarn build tokens */ type TokenValue = string | { duration: number; curve: string; keyframes?: string[]; properties?: string[]; delay?: number; } | Record<string, any>; type TokenValueOriginal = string | { duration: string; curve: string; keyframes?: string[]; properties?: string[]; delay?: string; } | Record<string, any>; type TokenAttributes = { group: string; state: string; introduced: string; description: string; suggest?: string[]; deprecated?: string; replacement?: string; }; type Token = { value: TokenValue; filePath: string; isSource: boolean; attributes: TokenAttributes; original: { value: TokenValueOriginal; attributes: TokenAttributes; }; name: string; path: string[]; cleanName: string; }; declare const tokens: Token[]; export default tokens;