zeplin-extension-style-kit
Version:
Models and utilities to generate CSS-like style code in Zeplin extensions.
15 lines (9 loc) • 350 B
TypeScript
import { StyleDeclaration } from "./common";
declare class RuleSet {
constructor(selector: string, declarations: Array<StyleDeclaration>);
selector: string;
declarations: Array<StyleDeclaration>;
addDeclaration(declaration: StyleDeclaration): void;
removeDeclaration(declaration: StyleDeclaration): void;
}
export = RuleSet;