Port textAlign module to plugin
This commit is contained in:
parent
7e2e27818c
commit
fbeadb76cc
4 changed files with 12 additions and 12 deletions
10
src/plugins/textAlign.js
Normal file
10
src/plugins/textAlign.js
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
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'))
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue