Skip to content

Commit

Permalink
fix: remove unnecessary parentheses from coloryiq warning (#2350)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamstankiewicz authored Jun 3, 2023
1 parent 101fe25 commit 2d23b45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tokens/sass-helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 2d23b45

Please sign in to comment.