Skip to content
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] Revise "Component theming" and "How to customize" guides #31997

Merged
merged 24 commits into from
Apr 12, 2022
Merged
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
25b712c
initial commit
danilo-leal Mar 22, 2022
100e7a3
iteration
danilo-leal Mar 23, 2022
974ea77
general revision
danilo-leal Mar 26, 2022
b5307a1
component theming revision
danilo-leal Mar 26, 2022
f29a278
Jun's review
danilo-leal Mar 28, 2022
5f2bb54
Sam's first batch of reviews
danilo-leal Mar 30, 2022
273cd2a
Jun's review
danilo-leal Mar 30, 2022
e3b4ce1
trimming inspiration
danilo-leal Mar 30, 2022
832c3ec
Sam's second batch of reviews
danilo-leal Mar 30, 2022
15e12f0
remove excerpt about Link's color prop
danilo-leal Mar 30, 2022
24b4bb2
Jun's review: update code snippet
danilo-leal Mar 30, 2022
c72125e
Sam's review
danilo-leal Apr 1, 2022
260faa1
clarifying about specificity
danilo-leal Apr 6, 2022
9fd751e
Olivier's review on using CSS jargon
danilo-leal Apr 7, 2022
6ffc1c3
reordering content on "Overriding nested component styles", Olivier's…
danilo-leal Apr 7, 2022
b44e391
tackle dev tool blurriness
danilo-leal Apr 7, 2022
bda05ff
expand on using the experimental sx prop
danilo-leal Apr 7, 2022
5c0bc5d
line break for better review
danilo-leal Apr 7, 2022
08070da
explain why sx prop alone is stable but inside the theme is experimental
danilo-leal Apr 7, 2022
1429338
Sam's review
danilo-leal Apr 7, 2022
9cf2a44
Merge branch 'master' of https://github.com/mui/material-ui into how-…
danilo-leal Apr 8, 2022
af44cf2
Sam's review
danilo-leal Apr 8, 2022
36436d4
small final tweaks
danilo-leal Apr 12, 2022
ef3c447
yarn docs:typescript:formatted
danilo-leal Apr 12, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,9 @@ The `sx` prop acts as a shortcut for defining custom styles that access the them
This prop lets you write inline styles using a superset of CSS.
Learn more about [the concept behind the `sx` prop](/system/the-sx-prop/) and [how `sx` differs from the `styled` utility](/system/styled/#difference-with-the-sx-prop).

You can use the `sx` prop inside the `styleOverrides` key to modify styles within the theme using shorthand CSS notation. This is especially handy if you're already used to using the `sx` prop syntax. It makes transferring one-off customizations using `sx` to the theme very fast.
You can use the `sx` prop inside the `styleOverrides` key to modify styles within the theme using shorthand CSS notation.
This is especially handy if you're already used to using the `sx` prop syntax.
It makes transferring one-off customizations using `sx` to the theme very fast.
danilo-leal marked this conversation as resolved.
Show resolved Hide resolved

danilo-leal marked this conversation as resolved.
Show resolved Hide resolved
{{"demo": "GlobalThemeOverrideSx.js", "defaultCodeOpen": false}}

Expand Down