UNPKG

tonami

Version:

Minimal CSS-in-JS library that promotes CSS best-practices and strongly-typed design systems.

17 lines (16 loc) 514 B
declare class StyleSheet { rules: string[]; tag: null | HTMLStyleElement; sheet: null | CSSStyleSheet; dynamicIndexes: number[]; constructor(); findOrCreateTag(): HTMLStyleElement | null; getSheet(): CSSStyleSheet | null; insertStaticRules(rules: string[]): void; insertDynamicRules(rules: string[]): number[]; removeRules(dynamicIndexes: number[]): void; getStyleString(): string; reset(): void; } export declare const sheet: StyleSheet; export {};