tailwindcss/src/plugins/textAlign.js

14 lines
344 B
JavaScript

export default function({ variants }) {
return function({ addUtilities }) {
addUtilities(
{
'.text-left': { 'text-align': 'left' },
'.text-center': { 'text-align': 'center' },
'.text-right': { 'text-align': 'right' },
'.text-justify': { 'text-align': 'justify' },
},
variants
)
}
}