[docs] Remove redundant enhanceHighContrast information by silviuaavram · Pull Request #48632 · mui/material-ui (original) (raw)
Pull request overview
This PR removes redundant explanatory text about how enhanceHighContrast is applied, keeping the documentation focused while preserving the key usage guidance and examples.
Changes:
- Removed a repeated “follows the same pattern as
responsiveFontSizes” sentence from theenhanceHighContrastsection in theming docs. - Removed the analogous redundant sentence from the Windows High Contrast section in palette docs.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| docs/data/material/customization/theming/theming.md | Removes a redundant sentence from the enhanceHighContrast API description while keeping arguments/returns/examples intact. |
| docs/data/material/customization/palette/palette.md | Removes redundant phrasing while retaining the practical usage examples and token override guidance. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.