stoop
Version:
CSS-in-JS library with type inference, theme creation, and variants support.
13 lines (12 loc) • 563 B
TypeScript
/**
* Main factory function that creates a Stoop instance.
* Configures theme, media queries, utilities, and returns all API functions.
*/
import type { StoopConfig, StoopInstance } from "./types";
/**
* Creates a Stoop instance with the provided configuration.
*
* @param config - Configuration object containing theme, media queries, utilities, and optional prefix/themeMap
* @returns StoopInstance with all API functions (styled, css, globalCss, keyframes, createTheme, etc.)
*/
export declare function createStoop(config: StoopConfig): StoopInstance;