@zeplin/sdk
Version:
Zeplin API client for JavaScript
51 lines (50 loc) • 1.62 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.
*/
import { DesignTokenFont } from './design-token-font';
export declare const transformTextStyleDesignTokenValueToJSON: (value: TextStyleDesignTokenValue) => any;
export declare const transformJSONToTextStyleDesignTokenValue: (value: any) => TextStyleDesignTokenValue;
/**
* Value of the token
* @export
* @interface TextStyleDesignTokenValue
*/
export interface TextStyleDesignTokenValue {
/**
* Spacing between letters
* @type {number}
* @memberof TextStyleDesignTokenValue
*/
letterSpacing?: number;
/**
* Minimum height of a line for the text style
* @type {number}
* @memberof TextStyleDesignTokenValue
*/
lineHeight?: number;
/**
* Horizontal alignment of the text style, `left`, `right`, `center`, or `justify`
* @type {string}
* @memberof TextStyleDesignTokenValue
*/
alignment?: string;
/**
*
* @type {DesignTokenFont}
* @memberof TextStyleDesignTokenValue
*/
font: DesignTokenFont;
/**
* The value of color in `rgb(r, g, b)` or `rgba(r, g, b, a)` format for the text style. ☝️*If there\'s a matching color token for the text style\'s color, the color token\'s value is returned as a reference, e.g. `{$colors.light-yellow.value}`.*
* @type {string}
* @memberof TextStyleDesignTokenValue
*/
color?: string;
}