@hope-ui/solid
Version:
The SolidJS component library you've hoped for.
36 lines • 954 B
TypeScript
import { Property } from "csstype";
import { ColorScaleValue, KeysOf } from "../types";
/**
* Types for color related CSS properties
*/
export declare type ColorProps = Partial<{
/**
* The CSS `color` property
*/
color: Property.Color | ColorScaleValue;
/**
* The CSS `background` property
*/
background: Property.Background<ColorScaleValue>;
/**
* The CSS `background` property
*/
bg: Property.Background<ColorScaleValue>;
/**
* The CSS `background-color` property
*/
backgroundColor: Property.BackgroundColor | ColorScaleValue;
/**
* The CSS `background-color` property
*/
bgColor: Property.BackgroundColor | ColorScaleValue;
/**
* The CSS `opacity` property
*/
opacity: Property.Opacity;
}>;
/**
* Style prop names for color related properties
*/
export declare const colorPropNames: KeysOf<ColorProps>;
//# sourceMappingURL=color.d.ts.map