@terrazzo/token-tools
Version:
Various utilities for token types
20 lines • 704 B
TypeScript
import type { TokenNormalizedSet } from '../types.js';
import type { IDGenerator } from './lib.js';
export interface TransformCSSValueOptions {
/** Complete set of tokens (needed to resolve full and partial aliases) */
tokensSet: TokenNormalizedSet;
/** Values of the current permutation */
permutation: Record<string, string>;
transformAlias?: IDGenerator;
/** Options for color tokens */
color?: {
/** Output legacy hex-6 and hex-8 */
legacyHex?: boolean;
/**
* Color depth
* @see https://en.wikipedia.org/wiki/Color_depth
*/
depth?: 24 | 30 | 36 | 48 | 'unlimited';
};
}
//# sourceMappingURL=css-types.d.ts.map