New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[docs] Update customization/components and customization/global pages #24016
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A beginning of a review. While we are working on covering the different customization options. I think we could have something on how to identify which element to customize, e.g. with the devtools, then how to cover it into a working override.
On a different note. It feels like /customization/globals/
should actually be /customization/components/
as it covers theme.components
. It also feels like https://next.material-ui.com/customization/components/#5-global-theme-variation and https://next.material-ui.com/customization/globals/ covers the same thing.
Co-authored-by: Olivier Tassinari <olivier.tassinari@gmail.com>
Co-authored-by: Olivier Tassinari <olivier.tassinari@gmail.com>
Co-authored-by: Olivier Tassinari <olivier.tassinari@gmail.com>
Co-authored-by: Olivier Tassinari <olivier.tassinari@gmail.com>
Co-authored-by: Olivier Tassinari <olivier.tassinari@gmail.com>
Co-authored-by: Olivier Tassinari <olivier.tassinari@gmail.com>
Co-authored-by: Olivier Tassinari <olivier.tassinari@gmail.com>
Co-authored-by: Olivier Tassinari <olivier.tassinari@gmail.com>
Co-authored-by: Olivier Tassinari <olivier.tassinari@gmail.com>
…a/material-ui into feat/customization-guide
@@ -282,7 +282,7 @@ export interface CSSProperties | |||
/** | |||
* Map of all CSS pseudo selectors (`:hover`, `:focus`, ...). | |||
*/ | |||
export type CSSPseudoSelectorProps = { [K in CSS.Pseudos]?: SystemStyleObject }; | |||
export type CSSPseudoSelectorProps<Theme extends object = {}> = { [K in CSS.Pseudos]?: SystemStyleObject<Theme> }; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Extract these changes to different PR.
Let me revert and extend the
Maybe we can just extend the https://next.material-ui.com/customization/globals/ to contain the |
Co-authored-by: Matt <github@nospam.33m.co>
Co-authored-by: Matt <github@nospam.33m.co>
Co-authored-by: Matt <github@nospam.33m.co>
Co-authored-by: Matt <github@nospam.33m.co>
Co-authored-by: Matt <github@nospam.33m.co>
Co-authored-by: Matt <github@nospam.33m.co>
Co-authored-by: Matt <github@nospam.33m.co>
Co-authored-by: Matt <github@nospam.33m.co>
Co-authored-by: Matt <github@nospam.33m.co>
Co-authored-by: Matt <github@nospam.33m.co>
Co-authored-by: Matt <github@nospam.33m.co>
Co-authored-by: Matt <github@nospam.33m.co>
Co-authored-by: Matt <github@nospam.33m.co>
Co-authored-by: Matt <github@nospam.33m.co>
Co-authored-by: Matt <github@nospam.33m.co>
Co-authored-by: Matt <github@nospam.33m.co>
Co-authored-by: Olivier Tassinari <olivier.tassinari@gmail.com>
Co-authored-by: Matt <github@nospam.33m.co>
Co-authored-by: Matt <github@nospam.33m.co>
@mnajdova does this work for all components or only migrated components? it doesnt seem to work with |
@stunaz it works only on the migrated components |
This PR updates the
customization/global
andcustomization/components
pages.