@retriever-ui/system
Version:
19 lines (18 loc) • 622 B
TypeScript
import * as CSS from 'csstype';
import { Colors, CSSResponsive, ThemeCSS } from '../type/theme';
export interface ColorProps {
/**
* The CSS `color` property
*/
color?: CSSResponsive<CSS.Property.Color | Colors>;
/**
* The CSS `fill` property for icon svgs and paths
*/
fill?: CSSResponsive<CSS.Property.Fill | Colors>;
/**
* The CSS `stroke` property for icon svgs and paths
*/
stroke?: CSSResponsive<CSS.Property.Stroke | Colors>;
}
declare const color: ({ theme, ...props }: ThemeCSS<ColorProps>) => import("@emotion/utils").SerializedStyles;
export default color;