You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* To override the font families used. default is used for Typography,
27
+
* Should either return a `theme.FontOptions` object to replace the Committed theme defaults, or it should return undefined to use the Material-UI defaults.
28
+
*
29
+
* default is used for Typography,
15
30
* text for Text, display for Display and mono for Monospace.
* To override the value of particular colors in the palette. For example, the primary, secondary or brand colors.
45
+
* Should either return a [set of material-ui color intentions](https://material-ui.com/customization/palette/#customization) to replace the Committed theme defaults, or it should return undefined to use the Material-UI defaults.
46
+
*
47
+
* The material-ui colors can be specified: palette.primary, palette.secondary, palette.error, palette.warning, palette.info or palette.success
38
48
*
39
-
* Variants of each shade should be specified. Or a material-ui color preset should be used https://material-ui.com/customization/color/#color
49
+
* Additionally the committed-theme colors can be specified: palette.brand, palette.neutral
40
50
*/
41
-
paletteColors?: Partial<PaletteColors>
51
+
createPaletteOptions?: ()=>PaletteOptions
52
+
/**
53
+
* Should either return material-ui shape options i.e. `{ borderRadius: xx }` to replace the Committed theme defaults, or it should return undefined to use the Material-UI defaults.
54
+
*/
55
+
createShape?: ()=>ShapeOptions|undefined
56
+
/**
57
+
* Should either return [material-ui spacing options](https://material-ui.com/customization/spacing/) to replace the Committed theme defaults, or it should return undefined to use the Material-UI defaults.
58
+
*/
59
+
createSpacing?: ()=>SpacingOptions|undefined
60
+
/**
61
+
* Should either return [material-ui typography options](https://material-ui.com/customization/typography/) to replace the Committed theme defaults, or it should return undefined to use the Material-UI defaults.
62
+
*/
63
+
createTypography?: ()=>
64
+
|TypographyOptions
65
+
|((palette: Palette)=>TypographyOptions)
66
+
|undefined
67
+
/**
68
+
* Should either return [material-ui overrides options](https://material-ui.com/customization/globals/) to replace the Committed theme defaults, or it should return undefined to use the Material-UI defaults. It is passed the palette created using the `createPaletteOptions()` prop
0 commit comments