JSPM

  • Created
  • Published
  • Downloads 126220
  • Score
    100M100P100Q155589F
  • License MIT

Basic building blocks for Fluent UI React Component themes

Package Exports

  • @fluentui/theme

Readme

@fluentui/theme

Basic building blocks for Fluent UI React Themes

Define your own theme based on an existing theme:

import { createTheme, Theme, FontWeights } from '@fluentui/theme';

export const MyTheme: Theme = createTheme({
  components: {
    Button: {
      variants: {
        fontWeight: FontWeights.semibold,
        paddingLeft: '24px',
        paddingRight: '24px',
      },
    },
  },
});