@uifabric/mdl2-theme
TypeScript icon, indicating that this package has built-in type declarations

0.7.33 • Public • Published

@uifabric/mdl2-theme

MDL2 Theme package for Fluent UI React (formerly Office UI Fabric React)

This package contains MDL2 coloring, theming and styling for use with Fluent UI React components.

To import MDL2 theme:

import { MDL2Theme, MDL2Customizations } from '@uifabric/mdl2-theme';

In case of applying theme using Customizer:

  import { Customizer } from '@fluentui/react';

  <Customizer {...MDL2Customizations}>
    <div>{child component}</div>
  </Customizer>

In case of applying theme using ThemeProvider:

  import { ThemeProvider } from '@fluentui/react-theme-provider';

  <ThemeProvider theme={MDL2Theme}>
    <div>{child component}</div>
  </ThemeProvider>

Readme

Keywords

none

Package Sidebar

Install

npm i @uifabric/mdl2-theme

Weekly Downloads

84

Version

0.7.33

License

MIT

Unpacked Size

2.66 MB

Total Files

379

Last publish

Collaborators

  • microsoft1es
  • justslone
  • uifabricteam
  • dzearing