UNPKG

welcome-ui

Version:

Customizable design system with react • styled-components • styled-system and ariakit.

12 lines (11 loc) 445 B
import { CSSObject } from '@xstyled/styled-components'; import { ThemeValues } from '../../theme'; export type Size = 'xs' | 'sm' | 'md'; export type ThemeToggles = { after: Record<'sizes' | State, CSSObject>; icon: Record<'position' | 'sizes', CSSObject>; item: Record<'sizes' | State, CSSObject>; }; type State = 'checked' | 'default' | 'disabled'; export declare const getToggles: (theme: ThemeValues) => ThemeToggles; export {};