commit: 09956cad2f13a667885ca5e63f29c101f6eb9f4a
parent 18aba1ebbc8904e0b39e8a386fb14df672401ce2
Author: Henry Jameson <me@hjkos.com>
Date: Tue, 31 Dec 2024 13:52:32 +0200
cleanup
Diffstat:
1 file changed, 0 insertions(+), 1 deletion(-)
diff --git a/src/services/color_convert/color_convert.js b/src/services/color_convert/color_convert.js
@@ -214,7 +214,6 @@ export const getTextColor = function (bg, text, preserve) {
result.l += delta * multiplier
result.l = Math.min(100, Math.max(0, result.l))
contrast = getContrastRatio(bg, convert(result).rgb)
- console.log(convert(result).hex, result.l, contrast)
}
const base = typeof text.a !== 'undefined' ? { a: text.a } : {}