Skip to content

Commit dc57496

Browse files
committed
Source textAlign options from config
1 parent ecfdf48 commit dc57496

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/plugins/textAlign.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
export default function({ variants }) {
2-
return function({ addUtilities }) {
1+
export default function() {
2+
return function({ addUtilities, config }) {
33
addUtilities(
44
{
55
'.text-left': { 'text-align': 'left' },
66
'.text-center': { 'text-align': 'center' },
77
'.text-right': { 'text-align': 'right' },
88
'.text-justify': { 'text-align': 'justify' },
99
},
10-
variants
10+
config('variants.textAlign')
1111
)
1212
}
1313
}

0 commit comments

Comments
 (0)