mui / pigment-css

Pigment CSS is a zero-runtime CSS-in-JS library that extracts the colocated styles to their own CSS files at build time.
MIT License
396 stars 19 forks source link

[examples] Migrate examples from Material UI #61

Open oliviertassinari opened 1 month ago

oliviertassinari commented 1 month ago

Steps to reproduce

No response

Current behavior

No examples folder here, and examples folders in Material UI.

Expected behavior

Examples folder here, and no examples folders in Material UI.

Context

https://github.com/mui/material-ui/pull/42160#issuecomment-2101022381

Your environment

npx @mui/envinfo ``` Don't forget to mention which browser you used. Output from `npx @mui/envinfo` goes here. ```

Search keywords: -

mnajdova commented 3 weeks ago

Agree on moving the Pigment CSS examples, but instead of removing the one from Material UI, can we repurpose them on how to set up Material UI with Pigment CSS and popular frameworks? This will be important when v6 is released.

oliviertassinari commented 3 weeks ago

@mnajdova Great idea. Reopening:

The only counter-argument is that; the sooner we can make Pigment CSS the default what to use Material UI, the better. At which point, we would have the opposite a /examples/material-ui-vite-emotion example.