UNPKG

zeplin-extension-style-kit

Version:

Models and utilities to generate CSS-like style code in Zeplin extensions.

21 lines (15 loc) 495 B
import { BackgroundImage, StyleDeclaration } from "../common"; import Color from "../values/color"; import RuleSet from "../ruleSet"; declare class Layer { constructor(layerObject: object); style: RuleSet; childrenStyles: Array<RuleSet>; hasBlendMode: boolean; hasGradient: boolean; hasFill: boolean; backgroundImages: Array<BackgroundImage>; fillColor: Color; getLayerTextStyleDeclarations(textStyle: object): Array<StyleDeclaration>; } export = Layer;