Skip to content

Add an option to change the highlighting background color of updatemenus #1428

Open
@salim-b

Description

@salim-b

Currently only the normal (i. e. unhighlighted) background color can be changed through the parameter bgcolor. If you set this background to a dark coloring, you most probaby also want to adjust the text font to a bright coloring so that the text is still readable. But then the text becomes pretty unreadable while being highlighted since the highlighting background color is very bright!

Therefore I think an additional parameter bgcolor_active or the like should be introduced.

Additionally, an even more sophisticated solution could involve an automatic adjustment of the text font color and/or background color depending on the color brightness of the user defined bgcolor and/or font.color values (this seems to be already the case with the font color of hoverinfo labels).

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3backlogfeaturesomething new

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions