import { CSSObject } from 'styled-components'; import { BreakpointType } from '../../breakpoints/breakPoints'; export type SpinnerSize = 'sm' | 'md' | 'lg'; export type SpinnerColor = 'default' | 'primary' | 'inverse'; export type SpinnerTokensType = { size: Record; strokeWidth: Record; colors: Record; trackColor: CSSObject['color']; animation: { duration: string; }; overlay: { backgroundColor: CSSObject['backgroundColor']; zIndex: CSSObject['zIndex']; }; }; export type ResponsiveSpinnerTokens = { [key in keyof BreakpointType]: SpinnerTokensType; };