Skip to content

Commit

Permalink
Soften the push for adopting Pigment CSS
Browse files Browse the repository at this point in the history
  • Loading branch information
DiegoAndai committed Aug 13, 2024
1 parent be37e11 commit 568beca
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/data/material/migration/upgrade-to-v6/upgrade-to-v6.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@ Material UI v6 introduces Pigment CSS, a zero-runtime CSS-in-JS styling engine
With Pigment CSS, styles are extracted at build time rather than runtime, avoiding client-side recalculations and unlocking React Server Component (RSC) compatibility.
This also leads to significant reductions in bundle sizes for Material UI apps.

**In v6, Pigment CSS migration is opt-in.**
**In v6, Pigment CSS is opt-in.**
Future major versions of Material UI will likely use Pigment CSS as the default styling solution.

Check warning on line 14 in docs/data/material/migration/upgrade-to-v6/upgrade-to-v6.md

View workflow job for this annotation

GitHub Actions / runner / vale

[vale] reported by reviewdog 🐶 [Google.Will] Avoid using 'will'. Raw Output: {"message": "[Google.Will] Avoid using 'will'.", "location": {"path": "docs/data/material/migration/upgrade-to-v6/upgrade-to-v6.md", "range": {"start": {"line": 14, "column": 38}}}, "severity": "WARNING"}
Though optional, we highly recommend migrating your Material UI app to Pigment CSS once you've upgraded to v6.
Though optional, we encourage trying Pigment CSS out in your Material UI app.

Check warning on line 15 in docs/data/material/migration/upgrade-to-v6/upgrade-to-v6.md

View workflow job for this annotation

GitHub Actions / runner / vale

[vale] reported by reviewdog 🐶 [Google.We] Try to avoid using first-person plural like 'we'. Raw Output: {"message": "[Google.We] Try to avoid using first-person plural like 'we'.", "location": {"path": "docs/data/material/migration/upgrade-to-v6/upgrade-to-v6.md", "range": {"start": {"line": 15, "column": 18}}}, "severity": "WARNING"}

Check failure on line 15 in docs/data/material/migration/upgrade-to-v6/upgrade-to-v6.md

View workflow job for this annotation

GitHub Actions / runner / vale

[vale] reported by reviewdog 🐶 [MUI.MuiBrandName] Use a non-breaking space (option+space on Mac, Alt+0160 on Windows or AltGr+Space on Linux, instead of space) for brand name ('Pigment CSS' instead of 'Pigment CSS') Raw Output: {"message": "[MUI.MuiBrandName] Use a non-breaking space (option+space on Mac, Alt+0160 on Windows or AltGr+Space on Linux, instead of space) for brand name ('Pigment CSS' instead of 'Pigment CSS')", "location": {"path": "docs/data/material/migration/upgrade-to-v6/upgrade-to-v6.md", "range": {"start": {"line": 15, "column": 38}}}, "severity": "ERROR"}
If you wish to do so, go to the guide for [migrating to Pigment CSS](/material-ui/migration/migrating-to-pigment-css/) after this one.

### Quality-of-life improvements

Expand Down

0 comments on commit 568beca

Please sign in to comment.