@zeplin/sdk
Version:
Zeplin API client for JavaScript
44 lines (43 loc) • 1.13 kB
TypeScript
/**
* 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 transformDesignTokenFontToJSON: (value: DesignTokenFont) => any;
export declare const transformJSONToDesignTokenFont: (value: any) => DesignTokenFont;
/**
* Font information for the text style
* @export
* @interface DesignTokenFont
*/
export interface DesignTokenFont {
/**
* Font family of the text style, e.g. `Roboto`, `Arial`
* @type {string}
* @memberof DesignTokenFont
*/
family: string;
/**
* Font size of the text style
* @type {number}
* @memberof DesignTokenFont
*/
size: number;
/**
* Font weight of the text style, e.g. `500`, `700`
* @type {number}
* @memberof DesignTokenFont
*/
weight: number;
/**
* Font stretch form of the text style, e.g. `0.75`, `1.00`
* @type {number}
* @memberof DesignTokenFont
*/
stretch: number;
}