@aws-amplify/ui
Version:
`@aws-amplify/ui` contains low-level logic & styles for stand-alone usage or re-use in framework-specific implementations.
15 lines (14 loc) • 585 B
TypeScript
import type { WebTheme } from '../types';
import type { ComponentsTheme } from '../components';
import type { BaseTheme } from '../components/utils';
export declare function recursiveComponentCSS(baseSelector: string, theme: BaseTheme): string;
interface CreateComponentCSSParams {
theme: Pick<WebTheme, 'tokens' | 'breakpoints' | 'name'>;
components: Array<ComponentsTheme>;
}
/**
* This will take a component theme and create the appropriate CSS for it.
*
*/
export declare function createComponentCSS({ theme, components, }: CreateComponentCSSParams): string;
export {};