UNPKG

@zeplin/sdk

Version:
82 lines (81 loc) 1.69 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. */ import { ResourceSource } from './resource-source'; import { VariableInfo } from './variable-info'; export declare const transformColorToJSON: (value: Color) => any; export declare const transformJSONToColor: (value: any) => Color; /** * * @export * @interface Color */ export interface Color { /** * Identifier of the color * @type {string} * @memberof Color */ id: string; /** * The unix timestamp when the color was created * @type {number} * @memberof Color */ created: number; /** * Color\'s identifier in the design tool * @type {string} * @memberof Color */ sourceId?: string; /** * Name of the color * @type {string} * @memberof Color */ name: string; /** * Red component of the color * @type {number} * @memberof Color */ r: number; /** * Green component of the color * @type {number} * @memberof Color */ g: number; /** * Blue component of the color * @type {number} * @memberof Color */ b: number; /** * Alpha component of the color * @type {number} * @memberof Color */ a: number; /** * * @type {ResourceSource} * @memberof Color */ source?: ResourceSource; /** * * @type {VariableInfo} * @memberof Color */ variableInfo?: VariableInfo; }