@fluentui/theme
TypeScript icon, indicating that this package has built-in type declarations

2.6.45 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @fluentui/theme

Weekly Downloads

171,078

Version

2.6.45

License

MIT

Unpacked Size

772 kB

Total Files

308

Last publish

Collaborators

  • sopranopillow
  • microsoft1es
  • justslone
  • chrisdholt
  • miroslavstastny
  • levithomason
  • uifabricteam
  • uifrnbot
  • dzearing
  • layershifter
  • ling1726
  • travisspomer