Skip to content

Bring back theme.HyperlinkColor #3867

Closed
@dweymouth

Description

Checklist

  • I have searched the issue tracker for open issues that relate to the same feature, before opening a new one.
  • This issue only relates to a single feature. I will open new issues for any other features.

Is your feature request related to a problem?

Currently hyperlinks get their color from theme.PrimaryColor, but there used to be a theme.HyperlinkColor. I propose bringing back HyperlinkColor, to allow more customization while keeping in line with Fyne's theme API design philosophy.

In my app's case, since I have a lot of hyperlinks (most text in my app is links), I needed to darken the color of hyperlinks in the app's light theme to have appropriate text contrast. However, this makes the color of other PrimaryColor themed things, especially HighImportance buttons, a little jarringly dark.

Is it possible to construct a solution with the existing API?

No response

Describe the solution you'd like to see.

Bring back theme.HyperlinkColor as a standard color name in the theme API

Activity

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

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions