Skip to content

[docs] Remove redundant enhanceHighContrast information#48632

Merged
silviuaavram merged 3 commits into
mui:masterfrom
silviuaavram:docs/improve-enhance-section
Jun 8, 2026
Merged

[docs] Remove redundant enhanceHighContrast information#48632
silviuaavram merged 3 commits into
mui:masterfrom
silviuaavram:docs/improve-enhance-section

Conversation

@silviuaavram
Copy link
Copy Markdown
Member

@silviuaavram silviuaavram commented Jun 8, 2026

Copilot AI review requested due to automatic review settings June 8, 2026 07:36
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

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 the enhanceHighContrast section 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.

Copy link
Copy Markdown
Member

@mnajdova mnajdova left a comment

Choose a reason for hiding this comment

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

We can still describe the API :)

Comment thread docs/data/material/customization/palette/palette.md
Comment thread docs/data/material/customization/theming/theming.md
@code-infra-dashboard
Copy link
Copy Markdown

code-infra-dashboard Bot commented Jun 8, 2026

Deploy preview

Bundle size

Bundle Parsed size Gzip size
@mui/material 0B(0.00%) 0B(0.00%)
@mui/lab 0B(0.00%) 0B(0.00%)
@mui/private-theming 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


Check out the code infra dashboard for more information about this PR.

silviuaavram and others added 2 commits June 8, 2026 10:42
Co-authored-by: Marija Najdova <mnajdova@gmail.com>
Signed-off-by: Silviu Alexandru Avram <silviu.avram91@gmail.com>
Co-authored-by: Marija Najdova <mnajdova@gmail.com>
Signed-off-by: Silviu Alexandru Avram <silviu.avram91@gmail.com>
@silviuaavram silviuaavram merged commit 67d08ac into mui:master Jun 8, 2026
18 checks passed
@silviuaavram silviuaavram deleted the docs/improve-enhance-section branch June 8, 2026 07:52
@zannager zannager added the docs Improvements or additions to the documentation. label Jun 8, 2026
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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants