tailwindcss/src/plugins/textAlign.js
2019-01-14 15:43:12 -05:00

11 lines
333 B
JavaScript

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'))
}
}