mui / material-ui

Material UI: Ready-to-use foundational React components, free forever. It includes Material UI, which implements Google's Material Design.
https://mui.com/material-ui/
MIT License
91.86k stars 31.57k forks source link

[docs-infra] Hide Tailwind variables from the dev tools when not used #42090

Open danilo-leal opened 2 weeks ago

danilo-leal commented 2 weeks ago

Summary

This issue is a reference to this comment: https://github.com/mui/material-ui/pull/37319#issuecomment-1685413613

Tailwind is used mainly within the Base UI docs, where we provide a way for readers to toggle the styling engine the demos use to style components. There might be other places, but in most other pages, Tailwind is not used, and therefore, we could not load it somehow so it doesn't clutter up the dev tools and boosts a bit of performance.

Search keywords: tailwind demos docs