Sync alignment in calls of withAlphaVariable

This commit is contained in:
Irene Lin 2020-05-07 00:24:30 +10:00
parent 2f670a8699
commit a657a86b2d

View File

@ -26,7 +26,11 @@ export default function() {
return [
`.${e(`text-${modifier}`)}`,
corePlugins('textOpacity')
? withAlphaVariable({ color: value, property: 'color', variable: '--text-opacity' })
? withAlphaVariable({
color: value,
property: 'color',
variable: '--text-opacity',
})
: { color: value },
]
})