@aesthetic/core
Version:
Aesthetic is a powerful type-safe, framework agnostic, CSS-in-JS library for styling components.
18 lines • 1.01 kB
TypeScript
import { ThemeRegistry } from '@aesthetic/system';
import { darkTheme, design, lightTheme } from '@aesthetic/system/test';
import { ClassName, Engine, Rule, ThemeName } from '@aesthetic/types';
import { Aesthetic, AestheticOptions, EventListener, EventType, ThemeSheet } from '.';
export { darkTheme, design, lightTheme };
export declare function resetAestheticState(aesthetic: Aesthetic<any, any>): void;
export declare function getAestheticState(aesthetic: Aesthetic<any, any>): {
activeDirection: string | undefined;
activeTheme: string | undefined;
globalSheetRegistry: Map<ThemeName, ThemeSheet<any, any, any>>;
listeners: Map<EventType, Set<EventListener>>;
options: AestheticOptions;
themeRegistry: ThemeRegistry<any>;
};
export declare function setupAesthetic(aesthetic: Aesthetic<any, any>): void;
export declare function teardownAesthetic(aesthetic: Aesthetic<any, any>): void;
export declare function createTestEngine(): Engine<Rule, ClassName>;
//# sourceMappingURL=test.d.ts.map