Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to set color of tag with Bluma class #792

Open
cyrilschreiber3 opened this issue Jul 1, 2024 · 8 comments
Open

Unable to set color of tag with Bluma class #792

cyrilschreiber3 opened this issue Jul 1, 2024 · 8 comments

Comments

@cyrilschreiber3
Copy link

Describe the bug
I don't know if it was intentional, but these lines or these lines in your recent commit are removing the ability to change the color of each tag with a Bluma class name like is-link, is-success, etc. in the property tagstyle of an item.

Expected behavior
The color of the tag follows the Bluma class set in the tagstyle property.

What I suggest is that when the property is not set, the color from highlight-secondary is used, but when it is set, it uses the one from tagstyle.

Configuration

  - name: "Grafana"
    subtitle: "grafana.schreibernet.dev"
    logo: "./assets/icons/png/grafana.png"
    tag: "Local"
    tagstyle: "is-link" #this property is "overwritten" by the `highlight-secondary` property
    url: "https://grafana.schreibernet.dev/"
    target: "_blank"
@lorenzomorandini
Copy link

Same problem

1 similar comment
@AlexisHutin
Copy link

Same problem

@sebastienPoussard
Copy link

same issue

@torrabsolute2
Copy link

same issue here as well

@JashtonF
Copy link

same issue

@Bananas-Are-Yellow
Copy link

As a workaround, you can use Bulma background color helpers instead.

tagstyle: "is-link" # this doesn't work
tagstyle: "has-background-link" # this works

@Bananas-Are-Yellow
Copy link

I updated to v24.05.1 today and now is-link, is-primary, etc. seem to work fine.

@Daryes
Copy link

Daryes commented Oct 22, 2024

It is working correctly with v24.05.1, but the new release v24.10.1 break it again, the tagstyle parameters like is-warning or is-link have no effect.

It seems in fact many color property values are overridden with the theme highlight-primary and highlight-secondary values instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants