UNPKG

welcome-ui

Version:

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

11 lines (10 loc) 431 B
import { CSSObject } from '@xstyled/styled-components'; import { ThemeColorTokens, ThemeValues } from '../../theme'; import { LiteralUnion } from '../../utils'; export type AvatarColors = LiteralUnion<ThemeColorTokens>; export type Size = 'sm' | 'md' | 'lg' | 'xl' | 'xxl'; export type ThemeAvatars = { sizes: Record<Size, string>; text: CSSObject; }; export declare const getAvatars: (theme: ThemeValues) => ThemeAvatars;