Forum Discussion
Missing Theme JSON Customization for Card (New) Visual Background and Border
- 1 year ago
Hi everyone,
I wanted to follow up on my previous question regarding the Background and Border settings under the Cards section for the Card (New) visual in Power BI. After further investigation and with a helpful response from the community, I found the root cause.
The issue stems from the inconsistent naming conventions used in the Theme JSON file for these settings:
- Background: This is referred to as "fillCustom" instead of the more intuitive "background".
- Border: This is referred to as "outline", which can be confusing.
By using these specific property names in the Theme JSON, I was able to successfully modify the visual settings under Visual > Cards.
Hi sufinameh - Unfortunately, as of now, the Visual > Cards > Background and Border settings are not exposed for direct modification through the Theme JSON file, as you've already observed. These settings are likely managed separately from the general Background and Border settings.
Since this is a limitation of the Power BI platform, I recommend submitting a feature request via the Power BI Ideas forum or contacting Microsoft Support using above link.
Hope this helps.
Thank you for your comment, rajendraongole1. I initially thought the same, but after much trial and error, I found a solution that I will share it.