Sync alignment in calls of withAlphaVariable
This commit is contained in:
parent
2f670a8699
commit
a657a86b2d
1 changed files with 5 additions and 1 deletions
|
|
@ -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 },
|
||||
]
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue