Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
sufinameh
New Member

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 JSON configuration options:

  1. Visual > Cards > Background (under Cards settings):
    This setting does not change when modifying the theme using "visualStyles" as per Microsoft’s Theme JSON documentation.

  2. Visual > Cards > Border (under Cards settings):
    Similarly, the border setting under Cards is not impacted by any Theme JSON configuration options.

Expected Behavior:
Both the Background and Border for Visual > Cards should be configurable through the Theme JSON file, similar to other visual properties.

Steps to Reproduce:

  1. Add a Card (New) visual to a Power BI report.
  2. Apply a theme JSON file that modifies the general background and border settings under "visualStyles".
  3. Observe that General > Effects > Background and Border changes successfully, but Visual > Cards > Background and Border remain unaffected.

Request:
Please expose the missing Visual > Cards > Background and Border settings for customization in the Theme JSON configuration or clarify how they can be modified if they are already available but undocumented.

 

Additional Context:
Power BI Version: 2.138.1203.0 64-bit (November 2024)
Theme JSON Used: reportThemeSchema-2.138.json

1 ACCEPTED SOLUTION
sufinameh
New Member

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.

View solution in original post

4 REPLIES 4
sufinameh
New Member

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.

rajendraongole1
Super User
Super User

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.

Home

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.

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





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.

@sufinameh are you able to share a copy of the json where you were able to adjust this? I am struggling to get to the surface the fillCustom to update the background of the cards.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors