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

7.10.38 • Public • Published

@uifabric/azure-themes

Azure theme for Fluent UI React (formerly Office UI Fabric React)

The Azure themes require the following import statements:

import {
  AzureThemeDark,
  AzureThemeLight,
  AzureCustomizationsLight,
  AzureCustomizationsDark,
} from '@uifabric/azure-themes';

The theme may subsequently be set to either the Azure or Azure-Dark themes.

In case of applying theme using Customizer:

  import { Customizer } from '@fluentui/react';
  const customizations = AzureCustomizationsDark; // or alternatively AzureCustomizationsLight

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

In case of applying theme using ThemeProvider:

  import { ThemeProvider } from '@fluentui/react-theme-provider';
  const theme = AzureThemeDark; // or alternatively AzureThemeLight

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

Readme

Keywords

none

Package Sidebar

Install

npm i @uifabric/azure-themes

Weekly Downloads

1,776

Version

7.10.38

License

MIT

Unpacked Size

4.97 MB

Total Files

523

Last publish

Collaborators

  • microsoft1es
  • justslone
  • uifabricteam
  • dzearing