fluentui icon indicating copy to clipboard operation
fluentui copied to clipboard

Cannot override colors for various components

Open rickyp-ms opened this issue 9 years ago • 3 comments

Bug Report

  • Package version(s): 2.22.0 and Beyond
  • Browser and OS versions: All

Priorities and help requested (not applicable if asking question):

Are you willing to submit a PR to fix? Yes

Requested priority: Normal

Products/sites affected: tasks.office.com

Describe the issue:

Our designers have decided to customize Fabric's colors quite extensively. For example $ms-color-themePrimary: #35749B !default; $ms-color-themeSecondary: #408AB7 !default;

This override of colors only works if developers use the @include ms-*Color-themePrimary; such as @include ms-bgColor-themePrimary;

Sadly in the code there are lots of references to background-color: $ms-color-themePrimary;

These don't get overridden so now we have multiple colors going on in our system.

Actual behavior:

More colors than are expected

Expected behavior:

Our specified colors to be used everywhere

rickyp-ms avatar Jun 02 '17 23:06 rickyp-ms

We're actively working on theming support. You can find the documentation for the current system here: http://dev.office.com/fabric#/components/themes

mikewheaton avatar Jun 02 '17 23:06 mikewheaton

@rickyp-ms Are you still experiencing issues with colors? Theme support has improved since issue was opened

erichdev avatar Oct 17 '17 20:10 erichdev

Closing because no response. Please reopen if any issues remain.

erichdev avatar Oct 19 '17 17:10 erichdev