Forum Discussion
aaibel14
6 years agoRegular Visitor
Border radius with JSON
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 coul...
- 6 years ago
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
v-lili6-msft
6 years agoCommunity Support
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