This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
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
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 29 | |
| 28 | |
| 25 | |
| 19 | |
| 14 |
| User | Count |
|---|---|
| 56 | |
| 48 | |
| 37 | |
| 21 | |
| 20 |