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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Theme Json

Theme json structure. I do not find the json structured to set default heading 1 to 6.
I am working on putting together a complete Theme, but see that there are some gaps here.

Same with setting the default on the different shapes.

 

5 REPLIES 5
tkiwi
Helper I
Helper I
Anonymous
Not applicable

No not quite. I did not fully understand the layout, but have tried different examples. What we want to achieve is to be able to define, for example, that Header1 = arial, 24 Header2 = arial, 18

"textbox": { "*": { "text": [{ "fontFamily": defaultFont, "color": { "solid": { "color": white } }, "options": ["h1"] }], "backgroundColor": [{ "color": { "solid": { "color": darkBlue } } }] } },

GeirEBerge_0-1653898597463.png

This exsample not working




Anonymous
Not applicable

Hi @Anonymous ,

 

Refer to:

Eyelyn9_0-1653546860960.png

You may try this:

Eyelyn9_1-1653547171489.png

 

Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

Negative I have already testet it. 

amitchandak
Super User
Super User

@Anonymous , Check if theme generators can help

https://themes.powerbi.tips/

https://www.mssqltips.com/sqlservertip/6692/power-bi-theme-generator/

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.