UNPKG

@zeplin/sdk

Version:
50 lines (49 loc) 1.07 kB
/** * Zeplin API * Access your resources in Zeplin * * Contact: support@zeplin.io * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ export declare const transformColorDataToJSON: (value: ColorData) => any; export declare const transformJSONToColorData: (value: any) => ColorData; /** * * @export * @interface ColorData */ export interface ColorData { /** * Color\'s identifier in the design tool * @type {string} * @memberof ColorData */ sourceId?: string; /** * Red component of the color * @type {number} * @memberof ColorData */ r: number; /** * Green component of the color * @type {number} * @memberof ColorData */ g: number; /** * Blue component of the color * @type {number} * @memberof ColorData */ b: number; /** * Alpha component of the color * @type {number} * @memberof ColorData */ a: number; }