Forum Discussion
Theme Not Fully Applying
- 4 years ago
Hi Anonymous
After my test, the code below works, just copy it and try
{ "name": "Sample", "visualStyles": { "*": { "*": { "*": [ { "responsive": true, "wordWrap": true, "fontSize": 10, "backColorPrimary": { "solid": { "color": "#ffffff" } }, "backColorSecondary": { "solid": { "color": "#ededed" } } } ], "title": [ { "show": true, "fontColor": { "solid": { "color": "#535353" } }, "background": { "solid": { "color": "#ffffff" } }, "alignment": "center", "fontSize": 12, "fontFamily": "Comic Sans MS" } ], "valueAxis": [ { "showAxisTitle": true, "labelColor": { "solid": {} } } ] } } } }Best Regards,
Community Support Team _Tang
If this post helps, please consider Accept it as the solution to help the other members find it more quickly.
Here is a screenshot of the theme having been applied mostly, but the Segoe UI family of fonts that I applied throughout are not getting applied. In particular note the headers and the text still in Times New Roman and Comic Sans:
- v-xiaotang4 years agoCommunity Support
Hi Anonymous
After my test, the code below works, just copy it and try
{ "name": "Sample", "visualStyles": { "*": { "*": { "*": [ { "responsive": true, "wordWrap": true, "fontSize": 10, "backColorPrimary": { "solid": { "color": "#ffffff" } }, "backColorSecondary": { "solid": { "color": "#ededed" } } } ], "title": [ { "show": true, "fontColor": { "solid": { "color": "#535353" } }, "background": { "solid": { "color": "#ffffff" } }, "alignment": "center", "fontSize": 12, "fontFamily": "Comic Sans MS" } ], "valueAxis": [ { "showAxisTitle": true, "labelColor": { "solid": {} } } ] } } } }Best Regards,
Community Support Team _Tang
If this post helps, please consider Accept it as the solution to help the other members find it more quickly.
- Anonymous4 years agoNot applicable
I think that is pretty much what I have throughout. I think in the sample I sent, for some of the top level things, I was using a fontFace property, but elsewhere I used fontFamily. Specifically, with the Segoe family of fonts, are these the values to use: "Segoe UI", "Segoe UI Semibold", "Segoe UI Bold", or is there a difference in maybe the casing or spacing that I should use in the theme.json?