tailwindcss/src/plugins/textAlign.js

14 lines
359 B
JavaScript
Raw Normal View History

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