@fluentui/theme
v2.6.63
Published
Basic building blocks for Fluent UI React Component themes
Downloads
758,545
Maintainers
Keywords
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',
},
},
},
});