UNPKG

zeplin-extension-style-kit

Version:

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

26 lines (19 loc) 450 B
import { StyleDeclaration } from "../common.js"; export class Mixin implements StyleDeclaration { id: string; constructor(identifier: string) { this.id = identifier; } get name(): string { return this.id; } get identifier(): string { return this.id; } equals(other: Mixin): boolean { return this.id === other.id; } getValue(): string | number { return ""; } }