mui / material-ui

Material UI: Comprehensive React component library that implements Google's Material Design. Free forever.
https://mui.com/material-ui/
MIT License
93.76k stars 32.24k forks source link

Community themes #21113

Open anisg opened 4 years ago

anisg commented 4 years ago

Summary ๐Ÿ’ก

In the documentation website, have a section to list the opensource themes built with MUI (using createTheme())

Examples ๐ŸŒˆ

One opensource theme built with MUI for instance is Perason Material-UI Theme

Motivation ๐Ÿ”ฆ

I love MUI but I don't personally like too much Material Design System and thus I'm usually customizing components manually with createMuiTheme. Having a list of opensource themes can give us a good starting point if we want to have something different from Material.

Capture dโ€™eฬcran 2020-05-19 aฬ€ 16 23 18 Capture dโ€™eฬcran 2020-05-19 aฬ€ 16 23 33

List of existing themes/design-systems

oliviertassinari commented 4 years ago

@anisg Yes, yes, we need more of that! ๐Ÿ˜ (I don't like Material Design specifically either, the only reason I got involved with this design spec is that I wanted to make a web app for Android 5 years ago ๐Ÿ™ƒ)

The API you use looks great. I think that it's the direction we could push people into. The bundle singleton of the theme looks acceptable, and can always be optimized for people that value it https://github.com/Pearson-Higher-Ed/pearson-mui-theme/blob/develop/src/index.js.

import pearsonTheme from '@greenville/mui-theme';
import { ThemeProvider, createMuiTheme } from '@material-ui/core/styles';

<ThemeProvider theme={createMuiTheme(pearsonTheme)}>
  <YourApp />
</ThemeProvider>

@siriwatknp has been exploring this direction in https://mui-treasury.com/styles/tabs. Recently I was suggesting leading toward the API you have used https://github.com/mui-org/material-ui/pull/21054#pullrequestreview-413064382.

I thint that your issue also resonates with this issue, your feedback on it would be appreciated https://github.com/mui-org/material-ui/issues/21111#issuecomment-630836002.

romainquellec commented 3 years ago

I'm pretty sure there is a lot of good themes out-there (or custom components on storybook at least) ! Can't wait to see them here !