welcome-ui
Version:
Customizable design system with react • styled-components • styled-system and ariakit.
17 lines (16 loc) • 484 B
TypeScript
import { CSSObject } from '@xstyled/styled-components';
import { ThemeValues } from '../../theme';
export type Size = 'auto' | 'xs' | 'sm' | 'md' | 'lg';
export type ThemeModals = {
backdrop: CSSObject;
body: CSSObject;
cover: Record<string, unknown>;
default: CSSObject;
footer: CSSObject;
gutter: string;
header: CSSObject;
sizes: Record<Size, {
width?: string;
}>;
};
export declare const getModals: (theme: ThemeValues) => ThemeModals;