Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
Anonymous
Not applicable

Report Theme File: Advanced JSON Commands / Parameters

Hey, Internet!

 

I'm putting together Report Theme JSON files for my team so we have consistent branding and functionality across all of our Power BI solutions, but I'm struggling to find guides for writing JSON files that aren't just the basic commands/parameters. For example, I'm looking to change the font color for buttons when the button is pressed. (If anything, providing button commands/parameters alone would be helpful.)

 

For context and to help others who are unaware, here are the resources that I have found so far for anybody that might need them.

 

Thank you in advance!

 

- Peyton

2 REPLIES 2
Anonymous
Not applicable

This is what I use for my company's theme .json but it doesn't have all parameters as I myself am still trying to find and build a full theme template; Microsoft is horrible at documenting and explaining in simplistic terms as you've probibly seen.  This code just makes a simple circular button with a thicker ring when hovered but you can mess around with the values and enter your own colours and such.

Hope this helped a little.

"actionButton":{
	"*":{
		"outline":[
			{"show":false}
			,{
				"$id":"default"
				,"lineColor":{"solid":{"color":"#3498db"}}
				,"transparency":0
				,"weight":2
				,"roundEdge":90
			}
			,{
				"$id":"hover"
				,"lineColor":{"solid":{"color":"#3498db"}}
				,"transparency":0
				,"weight":3
				,"roundEdge":90
			}
			,{
				"$id":"selected"
				,"lineColor":{"solid":{"color":"#00668a"}}
				,"transparency":0
				,"weight":3
				,"roundEdge":90
			}
		]
		,"fill":[
			{"show":false}
			,{
				"$id":"default"
				,"transparency":100
				,"fillColor":{"solid":{"color":""}}
			}
			,{
				"$id":"hover"
				,"transparency":100
				,"fillColor":{"solid":{"color":""}}
			}
			,{
				"$id":"selected"
				,"transparency":100
				,"fillColor":{"solid":{"color":""}}
			}
		]
		,"title":[{
			"show":false
		}]
		,"background":[{
			"show":false
		}]
	}
}
v-chuncz-msft
Community Support
Community Support

@Anonymous 

 

You may take a look at this post and give feedback via Ideas to help improve Power BI.

 

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.