Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hello!
I'm trying to create a custom theme for my projects, but i'm facing a problem with visual borders.
Is there a way to set a default border radius with JSON? I searched the web, but couldn't find anything related.
This is what I have right now.
"border": [{
"show": true,
"color": { "solid": { "color": "#FFFFFF" } }
}] Any help will be appreciated. Thanks.
Solved! Go to Solution.
hi, @aaibel14
Just add the code as below:
{
"name": "MyTheme1",
"dataColors": [
"#1079c1",
"#66afda",
"#99c9e6",
"#284861",
"#536475",
"#94a3af",
"#bfd3ef",
"#bfbfbf",
"#7f7f7f",
"#404040",
"#0d0d0d"
],
"background": "#ffffff",
"foreground": "#0d0d0d",
"tableAccent": "#284861",
"visualStyles": {
"*": {
"*": {
"border": [{
"show": true,
"color": { "solid": { "color": "#FF0003" } },
"radius": 10
}]
}
}
}
}
Regards,
Lin
hi, @aaibel14
Just add the code as below:
{
"name": "MyTheme1",
"dataColors": [
"#1079c1",
"#66afda",
"#99c9e6",
"#284861",
"#536475",
"#94a3af",
"#bfd3ef",
"#bfbfbf",
"#7f7f7f",
"#404040",
"#0d0d0d"
],
"background": "#ffffff",
"foreground": "#0d0d0d",
"tableAccent": "#284861",
"visualStyles": {
"*": {
"*": {
"border": [{
"show": true,
"color": { "solid": { "color": "#FF0003" } },
"radius": 10
}]
}
}
}
}
Regards,
Lin
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 51 | |
| 47 | |
| 29 | |
| 15 | |
| 14 |
| User | Count |
|---|---|
| 88 | |
| 73 | |
| 39 | |
| 26 | |
| 24 |