Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

Theme Not Fully Applying

I have a theme.json file where I have set the font for everything to the Segoe family of fonts.  When I apply the theme to an existing report, most of the settings get applied, but the fonts do not. ...
  • v-xiaotang's avatar
    v-xiaotang
    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.