From a657a86b2dcb5cc36d88e9db3055df496358782a Mon Sep 17 00:00:00 2001 From: Irene Lin Date: Thu, 7 May 2020 00:24:30 +1000 Subject: [PATCH] Sync alignment in calls of withAlphaVariable --- src/plugins/textColor.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/plugins/textColor.js b/src/plugins/textColor.js index 430007b15..a1f193712 100644 --- a/src/plugins/textColor.js +++ b/src/plugins/textColor.js @@ -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 }, ] })