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

@ -130,7 +130,7 @@ export default {
const serialized = this.cValue.map(x => serializeShadow(x)).join(',')
serialized.split(/,/).map(deserializeShadow) // validate
const expandedShadow = flattenDeep(findShadow(this.cValue, { dynamicVars: {}, staticVars: this.staticVars }))
const fixedShadows = expandedShadow.map(x => ({ ...x, color: console.log(x) || rgb2hex(x.color) }))
const fixedShadows = expandedShadow.map(x => ({ ...x, color: rgb2hex(x.color) }))
if (this.separateInset) {
result = {