[Heatmap] Cell values should automatically invert color based on contrast #1296
Labels
bug
Something isn't working
kibana cross issue
Has a Kibana issue counterpart
:Lens
Kibana Lens related issue
released
Issue released publicly
Describe the bug
Cell values are displayed with the selected color without taking into account the background contrast.
Here's an example:
Expected behaviour
The background color should be considered when assigning the font color to the cell value accordingly with the contrast measurement.
Extra feature: add a way to pass the page background color as well to handle constrast measurement with
rgba
values (we hit this bug already in table Lens dynamic coloring).Kibana Cross Issues
Kibana cross issue
Checklist
Delete any items that are not applicable to this issue.
Kibana Cross Issues
listkibana cross issue
tag is associated to the issue if any kibana cross issue is presentThe text was updated successfully, but these errors were encountered: