[Documentation] Where is primary2Color etc.. used?
So, when using the theming, primary1Color is used for primary button colors, and accent1Color for the secondary color.
- Where is
primary2Colorused? When I search the codebase it is never used except in the documentation about colors (http://www.material-ui.com/#/customization/themes) - It is never explained in the docs which colors are used in the theme and which ones are not.
Is it the intention for you to use it yourself via this.context?
It's confusing since it is named ..1.., ..2.. and ..3.. implying that they are somehow used together or are related, while right now it seems that 2 and 3 are nothing more than an example, thus, again having similarly named items, where only 1 of them has an actual hard-coded system functionality, and the others don't. Doesn't make logical sense to me. A new used would assume they are system-used colors.
- Why not use
secondary1Colorinstead ofaccent1Color?- Perhaps add a third
accentoption to buttons? (https://github.com/callemall/material-ui/issues/4150)
- Perhaps add a third
When I search the codebase it is never used except in the documentation about colors
It's used in DatePicker and the TimePicker with styles/getMuiTheme.
I don't know the logic behind those choices. Hopefully, we have improved the theme variables on the next branch and we will make 💡 choices when reimplementing the DatePicker and the TimePicker.