npm.io
2.7.4 • Published 1 week ago

@fluentui/theme

Licence
MIT
Version
2.7.4
Deps
4
Size
807 kB
Vulns
0
Weekly
0
Stars
20.4K

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