Skip to content

Conversation

aditi291soni
Copy link
Contributor

Updated the Typography h3 override example to define styles inside createTheme, as suggested in this comment

This ensures media queries and CSS variable overrides are properly applied.

Fixes #46498

@mui-bot
Copy link

mui-bot commented Jul 18, 2025

Netlify deploy preview

Bundle size report

Bundle Parsed Size Gzip Size
@mui/material 0B(0.00%) 0B(0.00%)
@mui/lab 0B(0.00%) 0B(0.00%)
@mui/system 0B(0.00%) 0B(0.00%)
@mui/utils 0B(0.00%) 0B(0.00%)

Details of bundle changes

Generated by 🚫 dangerJS against 9884d59

@aditi291soni aditi291soni force-pushed the fix/typography-css-vars-override branch from 200ac9c to 9884d59 Compare July 18, 2025 06:41
@ZeeshanTamboli ZeeshanTamboli added docs Improvements or additions to the documentation. scope: typography Changes related to typography. labels Jul 18, 2025
Copy link
Member

@siriwatknp siriwatknp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Thanks for your contribution!

@siriwatknp siriwatknp merged commit a9b7ae6 into mui:master Jul 31, 2025
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Improvements or additions to the documentation. scope: typography Changes related to typography.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Typography] Defining typography values does not update CSS variables
4 participants