Forum Discussion
alexisjensennz
4 years agoFrequent Visitor
Adding 2 custom fonts via json theme
Hi, Due to custom corporate branding, we need to add a couple of custom fonts to Power BI and I have explored by a custom theme. I have managed to get one in using: {"name":"Fonterra_Theme_R...
- Anonymous4 years ago
As far as I know, custom theme can only support 1 base font, you can only specify different fonts for each visual.
{ "name": "Custom Theme", "dataColors": ["#3d4549", "#f9fafa", "#9ea2a4", "#ced0d2", "#f7ff1a", "#ff3838", "#00ccff", "#2aec2a"], "background":"#FFFFFF", "foreground": "#0c161c", "tableAccent": "#0c161c", "visualStyles":{ "tableEx": { "*": { "*": [ { "fontFamily": "Abadi" } ] } }, "pivotTable": { "*": { "*": [ { "fontFamily": "Arial Black" } ] } }, "*":{"*":{"*":[{"fontSize":12,"fontFamily":"DAZN Trim","color":{"solid":{}}}]}}} }Also check the solution:
Solved: Can we add custom font (.ttf type) in Power BI des... - Microsoft Power BI Community
Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.
Anonymous
4 years agoNot applicable
As far as I know, custom theme can only support 1 base font, you can only specify different fonts for each visual.
{
"name": "Custom Theme",
"dataColors": ["#3d4549", "#f9fafa", "#9ea2a4", "#ced0d2", "#f7ff1a", "#ff3838", "#00ccff", "#2aec2a"],
"background":"#FFFFFF",
"foreground": "#0c161c",
"tableAccent": "#0c161c",
"visualStyles":{
"tableEx": {
"*": {
"*": [
{
"fontFamily": "Abadi"
}
]
}
},
"pivotTable": {
"*": {
"*": [
{
"fontFamily": "Arial Black"
}
]
}
},
"*":{"*":{"*":[{"fontSize":12,"fontFamily":"DAZN Trim","color":{"solid":{}}}]}}}
}
Also check the solution:
Solved: Can we add custom font (.ttf type) in Power BI des... - Microsoft Power BI Community
Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.