2019-01-18 16:36:21 -05:00
|
|
|
export default function({ variants }) {
|
|
|
|
|
return function({ addUtilities }) {
|
2019-01-11 12:29:33 -05:00
|
|
|
addUtilities(
|
|
|
|
|
{
|
|
|
|
|
'.static': { position: 'static' },
|
|
|
|
|
'.fixed': { position: 'fixed' },
|
|
|
|
|
'.absolute': { position: 'absolute' },
|
|
|
|
|
'.relative': { position: 'relative' },
|
|
|
|
|
'.sticky': { position: 'sticky' },
|
|
|
|
|
'.pin-none': {
|
|
|
|
|
top: 'auto',
|
|
|
|
|
right: 'auto',
|
|
|
|
|
bottom: 'auto',
|
|
|
|
|
left: 'auto',
|
|
|
|
|
},
|
|
|
|
|
'.pin': {
|
|
|
|
|
top: 0,
|
|
|
|
|
right: 0,
|
|
|
|
|
bottom: 0,
|
|
|
|
|
left: 0,
|
|
|
|
|
},
|
|
|
|
|
'.pin-y': { top: 0, bottom: 0 },
|
|
|
|
|
'.pin-x': { right: 0, left: 0 },
|
|
|
|
|
'.pin-t': { top: 0 },
|
|
|
|
|
'.pin-r': { right: 0 },
|
|
|
|
|
'.pin-b': { bottom: 0 },
|
|
|
|
|
'.pin-l': { left: 0 },
|
2019-01-09 13:23:48 -05:00
|
|
|
},
|
2019-01-18 16:36:21 -05:00
|
|
|
variants
|
2019-01-11 12:29:33 -05:00
|
|
|
)
|
2019-01-09 13:23:48 -05:00
|
|
|
}
|
|
|
|
|
}
|