npm.io
2.7.2 • Published 7 months ago

@fluentui/theme

Licence
MIT
Version
2.7.2
Deps
4
Size
804 kB
Vulns
0
Weekly
0
Stars
20.1K

@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',
      },
    },
  },
});