import { Property } from 'csstype'; import { colorFormatter } from '../utils/formatter'; import { cssProperty } from '../utils/style'; import { ColorPropertyTheme, TLength } from './typings'; export const backgroundColor = cssProperty( null, colorFormatter('background-color', 'background-opacity'), ); export const backgroundAttachment = cssProperty('background-attachment'); export const backgroundClip = cssProperty('background-clip'); export const backgroundImage = cssProperty('background-image'); export const backgroundOpacity = cssProperty('--background-opacity'); export const backgroundOrigin = cssProperty('background-origin'); export const backgroundPosition = cssProperty>('background-position'); export const backgroundRepeat = cssProperty('background-repeat'); export const backgroundSize = cssProperty>('background-size');