From 1f11cae3f35ebd56db8b5c7d3b0644594f263099 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Sat, 3 Jun 2023 11:16:34 -0400 Subject: [PATCH] fix: remove unnecessary parentheses from coloryiq warning (#2350) --- tokens/sass-helpers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tokens/sass-helpers.js b/tokens/sass-helpers.js index 70c159d181..ccf76bdd2d 100644 --- a/tokens/sass-helpers.js +++ b/tokens/sass-helpers.js @@ -66,7 +66,7 @@ function colorYiq({ numBrightenAttempts += 1; if (numBrightenAttempts === maxAttempts) { // eslint-disable-next-line no-console - console.warn(`WARNING: Failed to brighten ${tokenName} () to pass contrast ratio of 4.5:1 (Original: ${originalColor.hex()}; Attempted: ${result.hex()}).`); + console.warn(`WARNING: Failed to brighten ${tokenName} to pass contrast ratio of 4.5:1 (Original: ${originalColor.hex()}; Attempted: ${result.hex()}).`); } } return result;