microsoft / powerbi-desktop-samples

Power BI Desktop sample files for the monthly release. Here you can find the PBIX files used in the monthly release videos.
MIT License
1.48k stars 892 forks source link

advancedSlicerVisual : value fontColor theme setting not applied #93

Open bdarbonneau opened 7 months ago

bdarbonneau commented 7 months ago

Using the March 2024 version of Power BI Desktop. I am trying to set the default font color of the button values in the new button slicer visual, but the theme settings are not applied. Setting the font size, family is OK, but the following code does not affect the font color. I have also tried using theme colors, but to no avail. Is this a bug or am I missing something ?

"advancedSlicerVisual": { "*": { "value": [ { "show": true }, { "$id": "default", "fontFamily": "Segoe UI Semibold", "fontColor":{"solid": {"color":"#4A4A4A"}}, "fontSize": 10, "transparency": 0, "horizontalAlignment": "center" }, { "$id": "selected", "fontColor":{"solid": {"color":"#4A4A4A"}} } ] } }

CHohnbaum commented 5 months ago

I'm also hitting this issue with the latest theme file, I can't set the fontColor but I can set the other properties for values.

rjwijnen commented 2 months ago

It looks like it is defaulting to the "foreground" value in the theme file.