Re: Color Blind Friendly

Frequent Visitor
17627 Views
Power BI Team Amanda
Power BI Team

Color Blind Friendly

The default theme for Power BI is not the best choice for color blind users. This theme is meant to be a better choice for your reports if you have users who are color blind. It is based on the color palette found here: http://mkweb.bcgsc.ca/biovis2012/

 

 

 

Mychele Frequent Visitor
Frequent Visitor

Re: Color Blind Friendly

Background on Slicers.png

Any idea what in this theme would cause my slicers to now have a gray background?

I can't find a way to manually change it back, either.

itshudak Frequent Visitor
Frequent Visitor

Re: Color Blind Friendly

What type of grey are you seeing? There is a "foreground" color of #074650 that is a greenish grey. It's on line 5.

Highlighted
itshudak Frequent Visitor
Frequent Visitor

Re: Color Blind Friendly

What type of grey are you seeing? There is a "foreground" color of #074650 that is a greenish grey. It's on line 5.

sujit Regular Visitor
Regular Visitor

Re: Color Blind Friendly

Thank you for your file. I am new to coding and have a question. What is the use of "*" and why it is being used here? Below is the extract from your code: 

 

 

"visualStyles":{"*":
{"*":
{"*":[{"fontSize":8,"fontFamily":"Calibri, Cambria","color":{"solid":{"color":"#e54016"}}}],
"general":[{"responsive":true}],
"plotArea":[{"transparency":100}]
}
},

 

Thanks in Advance !!

sujit Regular Visitor
Regular Visitor

Re: Color Blind Friendly

when I posted the above comment, I was new to this code. As I can see there are 808 view as on 16th Jan 2018, no one was able to comment on this. 

I was able to dig and on my own was able to understand the above code. 

 

People, please respond to the query as it will save time of others. 

jhauff77060 Regular Visitor
Regular Visitor

Re: Color Blind Friendly

You can refer to Microsoft's Use Report Themes in Power BI Desktop (Preview), the Report theme JSON file format section for details on using asterisks in Themes. Also, Curbal's Power BI Template to create Report Themes with the JSON template includes a useful Guide to creating JSON files.

sujit Regular Visitor
Regular Visitor

Re: Color Blind Friendly

Thanks Buddy. It was really helpful. I appreciate your time in responding to my query.

Tyulio Frequent Visitor
Frequent Visitor

Re: Color Blind Friendly

Hi!

 

It's a bit late but reading the documentation, here is the answer:

 

Spoiler
For the visualName and cardName sections, you can list a specific visual and cardName, or you can use an asterisk ("*") if you want that setting to apply to all visuals or all cards that contain a property for a specific visual. You can use the asterisk ("*") when you want to apply a setting globally in your report, such as a font size or specific font family that should be used throughout all visuals in your report.
sujit Regular Visitor
Regular Visitor

Re: Color Blind Friendly

Thank you, it was helpful to decode theme code heirarchy.