@payfit/unity-themes
Version:
22 lines (21 loc) • 607 B
TypeScript
import { Config, LocalOptions, TransformedToken } from 'style-dictionary/types';
export type TokenWithCTIAttrs = TransformedToken & {
attributes: {
category: string;
type: string;
item: string;
};
};
export type BreakpointToken = Omit<TransformedToken, '$value' | '$type'> & {
$value: string;
$type: 'dimension';
};
export type TypographyGroup = {
default?: TokenWithCTIAttrs;
responsive: Map<string, TokenWithCTIAttrs>;
};
export type ProcessorOptions = Config & LocalOptions;
export type Prefixes = {
classPrefix: string;
variablePrefix: string;
};