tailwindcss/src/plugins/textAlign.js

11 lines
333 B
JavaScript
Raw Normal View History

2019-01-09 13:12:28 -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'))
}
}