tailwindcss/src/plugins/textAlign.js

14 lines
344 B
JavaScript
Raw Normal View History

export default function({ variants }) {
return function({ addUtilities }) {
2019-01-11 12:29:33 -05:00
addUtilities(
{
'.text-left': { 'text-align': 'left' },
'.text-center': { 'text-align': 'center' },
'.text-right': { 'text-align': 'right' },
'.text-justify': { 'text-align': 'justify' },
},
variants
2019-01-11 12:29:33 -05:00
)
2019-01-09 13:12:28 -05:00
}
}