You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
424 B
19 lines
424 B
import { system } from '@styled-system/core'
|
|
|
|
const config = {
|
|
background: true,
|
|
backgroundImage: true,
|
|
backgroundSize: true,
|
|
backgroundPosition: true,
|
|
backgroundRepeat: true,
|
|
}
|
|
|
|
config.bgImage = config.backgroundImage
|
|
config.bgSize = config.backgroundSize
|
|
config.bgPosition = config.backgroundPosition
|
|
config.bgRepeat = config.backgroundRepeat
|
|
|
|
export const background = system(config)
|
|
|
|
export default background
|