Forum Discussion
Mesalomee
1 year agoFrequent Visitor
Help with Customizing Power BI Theme - Navigation Bar Shadow Properties Not Applying
Hi everyone, I'm customising a Power BI theme directly in the JSON file for more flexibility, but I'm struggling to apply shadow properties (set in Power BI Desktop via Format Pane > Style > Sha...
- 1 year ago
I found the code that works, just had to pass properties as a separate object from "show": true
"shadow": [ { "show": true}, { "$id": "default", "color": { "solid": { "color": "#FCFCFC" }}, "transparency": 50, "shadowBlur": 9, "shadowPositionPreset": "custom", "angle": 90, "shadowDistance": 12 } ]
Mesalomee
1 year agoFrequent Visitor
I found the code that works, just had to pass properties as a separate object from "show": true
"shadow":
[
{
"show": true},
{
"$id": "default",
"color": {
"solid": {
"color": "#FCFCFC"
}},
"transparency": 50,
"shadowBlur": 9,
"shadowPositionPreset": "custom",
"angle": 90,
"shadowDistance": 12
}
]v-sgandrathi
1 year agoCommunity Support
Hi Mesalomee,
I'm glad to hear that you found a solution and resolved the query. Thank you for sharing it here!
Please mark your response as the accepted solution to help others in the community find it easily.
Thank you for being a part of the Microsoft Community Forum!