Currently, I am in the process of developing a custom theme utilizing createMuiTheme
. However, my application requires more typography variants than what Material UI provides out of the box. I need to extend the typography so that it aligns with my specific requirements which includes 'h1', 'h2', and 'subtitle1' styles along with additional variants exclusive to my app. How can I go about achieving this customization?
Below is a snippet of the code:
const rawTheme: Theme = createMuiTheme({
// Add your theme configuration here
});
I would greatly appreciate any assistance on how to accomplish this task.