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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Frequent Visitor
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




v-eqin-msft
Community Support
Community Support

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

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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