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] More general docs polishing #30371

Merged
merged 20 commits into from
Jan 4, 2022
Merged

Conversation

danilo-leal
Copy link
Contributor

@danilo-leal danilo-leal commented Dec 22, 2021

Following up on some left-overs from the previous PR (as suggested) while enjoying the time to tweak some stuff a bit more:

  • Changed some instances of theme.typography.fontWeightMedium to use the plain weight 500.
  • Menu and Icon Button had multiple instances with the same customization using sx prop so I moved it all to the theme.
  • Added a new button link variant and swapped a few links to use that variant.
  • The docs were scrolling horizontally on xs to md breakpoints due to me having increased the ToC size and not updating its width reference on the AppLayoutDoc file. Fixed that.
  • Added a hover color change to links.
  • Revamped the System demos and the customized Material demos styles on the home page a bit.
  • Fixed styling of the X component demos on the /x hero.
  • The usual color and spacing fine tunning (a bit on the website too).

Deploy previews:

@danilo-leal danilo-leal added the docs Improvements or additions to the documentation label Dec 22, 2021
@mui-pr-bot
Copy link

mui-pr-bot commented Dec 22, 2021

No bundle size changes

Generated by 🚫 dangerJS against 61cc778

@danilo-leal
Copy link
Contributor Author

@oliviertassinari I tried to act on all comments you left on the previous polishment PR. Also, as I changed the styling customization of the Menu to the theme, rather than using the sx prop in its multiple instances, I already included the elevation: 0, so maybe we could use this PR, instead of #30368, to fix the warning problem I caused on the last polishing PR?!

@danilo-leal danilo-leal added the website Pages that are not documentation-related, marketing-focused. label Dec 22, 2021
@github-actions github-actions bot added the PR: out-of-date The pull request has merge conflicts and can't be merged label Dec 23, 2021
@github-actions github-actions bot removed the PR: out-of-date The pull request has merge conflicts and can't be merged label Dec 23, 2021
@@ -38,10 +38,10 @@ const Tab = styled(TabUnstyled)`
background-color: ${blue[400]};
}

&.${buttonUnstyledClasses.focusVisible} {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't we encourage the community to use focusVisible? cc @michaldudak

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I changed to only &:focus because using the focusVisible class wasn't working 😕 The styles weren't being applied to the component when focused. Not sure if it's really a problem or just me not knowing how to work on it.

Copy link
Member

@siriwatknp siriwatknp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 I did not review all of the changes but I would trust the tests.

@danilo-leal danilo-leal requested a review from siriwatknp January 3, 2022 12:54
Copy link
Member

@siriwatknp siriwatknp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 LGTM

@danilo-leal danilo-leal merged commit ca07b0b into mui:master Jan 4, 2022
@danilo-leal danilo-leal deleted the polish-follow-up branch January 4, 2022 15:56
wladimirguerra pushed a commit to wladimirguerra/material-ui that referenced this pull request Feb 2, 2022
Co-authored-by: siriwatknp <siriwatkunaporn@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Improvements or additions to the documentation website Pages that are not documentation-related, marketing-focused.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants