We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ecfdf48 commit dc57496Copy full SHA for dc57496
src/plugins/textAlign.js
@@ -1,13 +1,13 @@
1
-export default function({ variants }) {
2
- return function({ addUtilities }) {
+export default function() {
+ return function({ addUtilities, config }) {
3
addUtilities(
4
{
5
'.text-left': { 'text-align': 'left' },
6
'.text-center': { 'text-align': 'center' },
7
'.text-right': { 'text-align': 'right' },
8
'.text-justify': { 'text-align': 'justify' },
9
},
10
- variants
+ config('variants.textAlign')
11
)
12
}
13
0 commit comments