UNPKG

@hakuna-matata-ui/styled-system

Version:

Style function for css-in-js building component libraries

83 lines 2.48 kB
import * as CSS from "csstype"; import type { Config } from "../utils/prop-config"; import { Token } from "../utils"; export declare const background: Config; export interface BackgroundProps { /** * The CSS `background` property */ bg?: Token<CSS.Property.Color, "colors">; /** * The CSS `background-clip` property */ bgClip?: Token<CSS.Property.BackgroundClip | "text">; /** * The CSS `background-clip` property */ backgroundClip?: Token<CSS.Property.BackgroundClip | "text">; /** * The CSS `background` property */ background?: Token<CSS.Property.Color, "colors">; /** * The CSS `background-color` property */ bgColor?: Token<CSS.Property.Color, "colors">; /** * The CSS `background-color` property */ backgroundColor?: Token<CSS.Property.Color, "colors">; /** * The CSS `background-image` property */ backgroundImage?: Token<CSS.Property.BackgroundImage>; /** * The background-gradient shorthand */ bgGradient?: Token<CSS.Property.BackgroundImage>; /** * The CSS `background-size` property */ backgroundSize?: Token<CSS.Property.BackgroundSize | number>; /** * The CSS `background-position` property */ bgPos?: Token<CSS.Property.BackgroundPosition | number>; /** * The CSS `background-position` property */ backgroundPosition?: Token<CSS.Property.BackgroundPosition | number>; /** * The CSS `background-image` property */ bgImage?: Token<CSS.Property.BackgroundImage>; /** * The CSS `background-image` property */ bgImg?: Token<CSS.Property.BackgroundImage>; /** * The CSS `background-repeat` property */ bgRepeat?: Token<CSS.Property.BackgroundRepeat>; /** * The CSS `background-repeat` property */ backgroundRepeat?: Token<CSS.Property.BackgroundRepeat>; /** * The CSS `background-size` property */ bgSize?: Token<CSS.Property.BackgroundSize | number>; /** * The CSS `background-attachment` property */ bgAttachment?: Token<CSS.Property.BackgroundAttachment>; /** * The CSS `background-attachment` property */ backgroundAttachment?: Token<CSS.Property.BackgroundAttachment>; /** * The CSS `background-position` property */ bgPosition?: Token<CSS.Property.BackgroundPosition | number>; } //# sourceMappingURL=background.d.ts.map