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 and PKulkoRaccoonGang committed Aug 4, 2024
1 parent 345217f commit dc947b6
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 dc947b6

Please sign in to comment.