Fluentui: Changing command bar color

Created on 23 May 2018  ·  2Comments  ·  Source: microsoft/fluentui

Hi,

How do I change the command bar color from default?

I am following the documentation for command bar. I do not want to change the theme overall (I saw some examples for this). I want to render the main command bar in blue color and white text (like the outlook email for example)

I can simply add override colors, but the text color seems to not change accordingly.

https://developer.microsoft.com/en-us/fabric#/components/commandbar

Question ❔

All 2 comments

Not sure if this was already discussed via email, but here is an example of being able to style the commandbar bg in our new 6.0 release

https://codepen.io/dzearing/pen/zzOzKZ

Thanks @micahgodbolt, this worked.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

nekoya picture nekoya  ·  3Comments

VincentBailly picture VincentBailly  ·  3Comments

luisrudge picture luisrudge  ·  3Comments

nekoya picture nekoya  ·  3Comments

mattcoxonline picture mattcoxonline  ·  3Comments