welcome-ui
Version:
Customizable design system with react • styled-components • styled-system and ariakit.
16 lines (15 loc) • 553 B
TypeScript
import { CSSObject } from '@xstyled/styled-components';
import { ThemeValues } from '../../theme';
export type Size = 'sm' | 'md';
export type ThemeAlerts = Record<Variant, AttributesState> & {
default: CSSObject;
sizes: Record<Size, CSSObject>;
title: {
default: CSSObject;
sizes: Record<Size, CSSObject>;
};
};
export type Variant = 'ai' | 'beige' | 'danger' | 'default' | 'info' | 'success' | 'warning';
type AttributesState = CSSObject;
export declare const getAlerts: (theme: ThemeValues) => ThemeAlerts;
export {};