cleanup console.logs and moved to proper log level console to make finding stray console.logs easier
This commit is contained in:
parent
e690ce193b
commit
7f9fe6b660
16 changed files with 50 additions and 59 deletions
|
|
@ -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]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue