homer icon indicating copy to clipboard operation
homer copied to clipboard

Unable to set color of tag with Bluma class

Open cyrilschreiber3 opened this issue 1 year ago • 7 comments

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"

cyrilschreiber3 avatar Jul 01 '24 21:07 cyrilschreiber3

Same problem

lorenzomorandini avatar Jul 04 '24 12:07 lorenzomorandini

Same problem

AlexisHutin avatar Jul 26 '24 15:07 AlexisHutin

same issue

sebastienPoussard avatar Jul 29 '24 09:07 sebastienPoussard

same issue here as well

torrabsolute2 avatar Aug 22 '24 15:08 torrabsolute2

same issue

FlamingBluejay avatar Aug 22 '24 21:08 FlamingBluejay

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 avatar Sep 18 '24 11:09 Bananas-Are-Yellow

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

Bananas-Are-Yellow avatar Sep 20 '24 16:09 Bananas-Are-Yellow

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.

Daryes avatar Oct 22 '24 13:10 Daryes