cleanup console.logs and moved to proper log level console to make finding stray console.logs easier

This commit is contained in:
Henry Jameson 2025-01-28 16:28:23 +02:00
commit 7f9fe6b660
16 changed files with 50 additions and 59 deletions

View file

@ -1,7 +1,7 @@
import { invertLightness, contrastRatio, convert } from 'chromatism'
// useful for visualizing color when debugging
export const consoleColor = (color) => console.log('%c##########', 'background: ' + color + '; color: ' + color)
// const consoleColor = (color) => console.debug('%c##########', 'background: ' + color + '; color: ' + color)
/**
* Convert r, g, b values into hex notation. All components are [0-255]