Legend click behaviour - legend item opacity

Hey,

By default when clicking on a legend item, its HTML element gets added a ‘style=“opacity: 0.5;”’ attribute. This is problematic when one trace is allocated the color black and another the color grey. When the first trace is deselected, both legend items then appear to have the same color.

My desire is to override this behaviour and replace it with a strikethough styling of the legend item. Any suggestions for how to accomplish this?