UNPKG

@web-atoms/core

Version:
19 lines 673 B
import { IClassOf } from "../../core/types"; import { AtomStyleSheet } from "./AtomStyleSheet"; import { IStyleDeclaration } from "./IStyleDeclaration"; export type StyleItem = AtomStyle; export interface IAtomStyle { name: string; } export declare abstract class AtomStyle implements IAtomStyle { readonly styleSheet: AtomStyleSheet; readonly name: string; abstract get root(): IStyleDeclaration; private styleText; constructor(styleSheet: AtomStyleSheet, name: string); getBaseProperty<T>(tc: IClassOf<T>, name: keyof this): any; build(): void; toString(): string; private createStyleText; } //# sourceMappingURL=AtomStyle.d.ts.map