Amanda's avatar
Amanda
Microsoft Employee
9 years ago

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/

 

 

 

9 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    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's avatar
      itshudak
      Helper I

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

    • itshudak's avatar
      itshudak
      Helper I

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

  • Anonymous's avatar
    Anonymous
    Not applicable

    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 !!

      • Anonymous's avatar
        Anonymous
        Not applicable

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

    • Anonymous's avatar
      Anonymous
      Not applicable

      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.
      • Anonymous's avatar
        Anonymous
        Not applicable

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

    • Anonymous's avatar
      Anonymous
      Not applicable

      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.