Forum Discussion

AlB's avatar
AlB
Icon for Community Champion rankCommunity Champion
7 years ago
Solved

JSON file to set font size to a specific value (for all visuals)

Hi there,   I find the default themes come with font sizes too small. I would like to have them larger by default. I don't know anything about JSON files but reading a bit and looking at a couple ...
  • v-juanli-msft's avatar
    7 years ago

    Hi AlB

    Please look at 

    Global Level Template

    Adjust titles, backgrounds, report page tooltips, wallpaper, and more for some or all visuals on a page or all pages.

    {
    	"name": "GlobalLevelTemplate",
    	"visualStyles": {
            "*": {
                "*": {
                    "title": [{
                        "show": true,
                        "fontColor": { "solid": { "color": "#cc6600" } },
                        "background": { "solid": { "color": "#333333" } },
                        "alignment": "center",
                        "fontSize": 12,
                        "fontFamily": "Verdana"
                    }],
                    "background": [{
                        "show": true,
                        "color": { "solid": { "color": "#002a5b" } },
                        "transparency": 25
                    }],
                    "lockAspect": [{
                        "show": true
                    }],
                    "border": [{
                        "show": true,
                        "color": { "solid": { "color": "#886b01" } }
                    }],
                    "visualTooltip": [{
                        "type": "Default"
                    }],
                    "stylePreset": [{
                        "name": "None"
                    }]
                }
            },
            "page": {
                "*": {
                    "background": [{
                        "color": { "solid": { "color": "#465d85" } },
                        "transparency": 50
                    }],
                    "outspace": [{
                        "color": { "solid": { "color": "#886b01" } },
                        "transparency": 50
                    }]
                }
            }
        }
    }

    Best Regards

    Maggie