tailwindcss/src/plugins/justifyContent.js
2020-10-16 13:30:06 -04:00

28 lines
654 B
JavaScript

export default function () {
return function ({ addUtilities, variants }) {
addUtilities(
{
'.justify-start': {
'justify-content': 'flex-start',
},
'.justify-end': {
'justify-content': 'flex-end',
},
'.justify-center': {
'justify-content': 'center',
},
'.justify-between': {
'justify-content': 'space-between',
},
'.justify-around': {
'justify-content': 'space-around',
},
'.justify-evenly': {
'justify-content': 'space-evenly',
},
},
variants('justifyContent')
)
}
}