From 17910e1c574fdcd251f3b097e5b37b27ac79c431 Mon Sep 17 00:00:00 2001 From: Jiuzhen Pan <2216991777@qq.com> Date: Wed, 17 Aug 2022 20:33:09 -0700 Subject: [PATCH] fix(plugin): plugin fixes --- src/plugin.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugin.js b/src/plugin.js index 8742391..b155044 100644 --- a/src/plugin.js +++ b/src/plugin.js @@ -98,8 +98,8 @@ const contrastColor = (value, step = undefined, blackWhite = false) => { ? '#000' : combineAlpha(checkDarkness(color, 'dark'), alpha) : blackWhite - ? '#FFF' - : combineAlpha(checkDarkness(color, 'light'), alpha); + ? '#FFF' + : combineAlpha(checkDarkness(color, 'light'), alpha); } return value; };