Support configuring a single list of variants to apply to all relevant plugins
This commit is contained in:
parent
43f63bf2e5
commit
f0bc35a896
71 changed files with 255 additions and 128 deletions
|
|
@ -1,5 +1,5 @@
|
|||
export default function() {
|
||||
return function({ addUtilities, config }) {
|
||||
return function({ addUtilities, variants }) {
|
||||
addUtilities(
|
||||
{
|
||||
'.float-right': { float: 'right' },
|
||||
|
|
@ -11,7 +11,7 @@ export default function() {
|
|||
clear: 'both',
|
||||
},
|
||||
},
|
||||
config('variants.float')
|
||||
variants('float')
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue