Before, the colors were given, independent of color settings (and similar to what the formula produces for the default colors, at least close enough we have not had complaints).
I assume you use your own neon colorblind colors we adopted.
the formula is:
const hsl = colorConvert.hex.hsl(colors[i]) // color of pieces
let lightness = Math.min(100, hsl[2] + 32)
const light = `hsla(${hsl[0]}, ${hsl[1]}%, ${lightness}%, 1)`
lightness = Math.min(100, hsl[2] + 25)
const dark = `hsla(${hsl[0]}, ${hsl[1]}%, ${lightness}%, 1)`
i tried a couple formulas for lightness, but nothing worked super well for all colors (like very light or very dark colors)
i am not a color expert, any suggestions are most welcome.
I think it is too dark, but not sure. Somehow it feels very odd looking at the board when one move is shading the square. How was it before?