@fluentui/theme

v2.6.45
Basic building blocks for Fluent UI React Component themes

@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',
      },
    },
  },
});
npm i @fluentui/[email protected]

Metadata

  • MIT
  • Whatever
  • Unknown
  • released 4/12/2024

Downloads