@material-ui/core/styles#unstable_createMuiStrictModeTheme JavaScript Examples
The following examples show how to use
@material-ui/core/styles#unstable_createMuiStrictModeTheme.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: branding.js From aws-amplify-identity-broker with MIT License | 5 votes |
theme = unstable_createMuiStrictModeTheme({
//export const theme = createMuiTheme({
palette: {
primary: {
main: Branding.primary,
contrastText: Branding.white,
},
secondary: {
main: Branding.secondary,
contrastText: Branding.white,
},
contrastThreshold: 3,
tonalOffset: 0.2,
},
typography: {
fontFamily: [
'-apple-system',
'BlinkMacSystemFont',
'"Segoe UI"',
'Roboto',
'"Helvetica Neue"',
'Arial',
'sans-serif',
'"Apple Color Emoji"',
'"Segoe UI Emoji"',
'"Segoe UI Symbol"',
].join(','),
},
spacing: 8,
breakpoints: {
values: {
xs: 0,
sm: 600,
md: 960,
lg: 1280,
xl: 1920,
},
},
overrides: {
},
})