1

I can't figure out how to style the fabric ui component. I just want to change the background of the nav bar to be black with white phone instead of white background and black font. However, this seems to be really difficult with the current component.

There is virtually no documenation on how to style either.

https://dev.office.com/fabric#/components/nav

Thanks, Derek

darewreck
  • 2,576
  • 5
  • 42
  • 67

1 Answers1

0

css inline not working?

Example:

style={{backgroundColor:'black', color:'white'}}

Regards.

Renan Lalier
  • 671
  • 2
  • 7
  • 13
  • How would you inline it? It's a react component. I believe all the component isolates the styles. You would have to use there exact classNames and override that. – darewreck Aug 23 '17 at 19:05
  • If you want to change specific classes, you can style file for your component. For this see https://github.com/webpack-contrib/style-loader – Renan Lalier Aug 23 '17 at 19:34
  • How would that work...You would still have to know the className that were used by the components in the office fabric ui source code – darewreck Aug 24 '17 at 06:00