import { Config, system } from 'styled-system'; const config: Config = { bgColor: { property: 'backgroundColor', scale: 'colors', }, bg: { property: 'backgroundColor', scale: 'colors', }, backgroundColor: { property: 'backgroundColor', scale: 'colors', }, backgroundImage: true, backgroundSize: true, backgroundPosition: true, backgroundRepeat: true, backgroundAttachment: true, backgroundBlendMode: true, bgImage: { property: 'backgroundImage', }, bgImg: { property: 'backgroundImage', }, bgBlendMode: { property: 'backgroundBlendMode', }, bgSize: { property: 'backgroundSize', }, bgPosition: { property: 'backgroundPosition', }, bgPos: { property: 'backgroundPosition', }, bgRepeat: { property: 'backgroundRepeat', }, bgAttachment: { property: 'backgroundAttachment', }, }; export const customBackground = system(config);