2019-01-11 12:29:33 -05:00
|
|
|
export default function() {
|
|
|
|
|
return function({ addUtilities, config }) {
|
|
|
|
|
addUtilities(
|
|
|
|
|
{
|
|
|
|
|
'.bg-bottom': { 'background-position': 'bottom' },
|
|
|
|
|
'.bg-center': { 'background-position': 'center' },
|
|
|
|
|
'.bg-left': { 'background-position': 'left' },
|
|
|
|
|
'.bg-left-bottom': { 'background-position': 'left bottom' },
|
|
|
|
|
'.bg-left-top': { 'background-position': 'left top' },
|
|
|
|
|
'.bg-right': { 'background-position': 'right' },
|
|
|
|
|
'.bg-right-bottom': { 'background-position': 'right bottom' },
|
|
|
|
|
'.bg-right-top': { 'background-position': 'right top' },
|
|
|
|
|
'.bg-top': { 'background-position': 'top' },
|
|
|
|
|
},
|
|
|
|
|
config('modules.backgroundPosition')
|
|
|
|
|
)
|
2019-01-09 21:48:27 -05:00
|
|
|
}
|
|
|
|
|
}
|