Skip to content

Colour of internal feature labels based on lightness of feature colour? #277

Description

@nicolazilio

Hello there,

I have found that, when using internal feature labels with the dark theme, the font colour is always white. This makes it hard to read said label when the feature colour is very light

Image

Would be possible to set the colour of internal feature labels based on the feature colour rather than the theme colour?

This is a potential way of calculating the brightness of a colour https://stackoverflow.com/questions/59603278/how-to-determine-colors-perceived-brightness.

Thank you very much!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions