Skip to content

Error in the documentation for overwriting theme colors #3305

Description

@VinozzZ

Bug Report

  • Package version(s): 5.9
  • Browser and OS versions: chrome

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: (if applicable)

Describe the issue:

The documentation on the github is different from the one on the website

Actual behavior:

import { loadTheme } from 'office-ui-fabric-react/lib/Styling';

loadTheme({
colors: {
themePrimary: 'red'
}
});

Expected behavior:

import { loadTheme } from 'office-ui-fabric-react/lib/Styling';

loadTheme({
palette: {
'themePrimary': 'red'
}
});

Metadata

Metadata

Assignees

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions