Forum Discussion

sufinameh's avatar
sufinameh
New Member
1 year ago
Solved

Missing Theme JSON Customization for Card (New) Visual Background and Border

Description: I’ve encountered a limitation when customizing the Card (New) visual in Power BI using the Theme JSON file. There are two specific settings that do not appear to be exposed in the Theme...
  • sufinameh's avatar
    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:

    1. Background: This is referred to as "fillCustom" instead of the more intuitive "background".
    2. 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.