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

[website] Migrate /core page to use CSS variables #35366

Merged
merged 56 commits into from Dec 9, 2022

Conversation

siriwatknp
Copy link
Member

@siriwatknp siriwatknp commented Dec 6, 2022

@siriwatknp siriwatknp added the website Pages that are not documentation-related, marketing-focused. label Dec 6, 2022
@siriwatknp siriwatknp changed the title [website] Migrate /core and /x pages to use CSS variables [website] Migrate /core page to use CSS variables Dec 6, 2022
@mui-bot
Copy link

mui-bot commented Dec 6, 2022

Messages
📖 Netlify deploy preview: https://deploy-preview-35366--material-ui.netlify.app/

No bundle size changes

Generated by 🚫 dangerJS against 6914ee2

@mnajdova
Copy link
Member

mnajdova commented Dec 7, 2022

I could just spot this regressions (the spacing between the buttons)
image
image

Signed-off-by: Siriwat K <siriwatkunaporn@gmail.com>
const Grid = styled('div')(({ theme }) => [
{
borderRadius: (theme.vars || theme).shape.borderRadius,
backgroundColor: alpha(theme.palette.grey[50], 0.4),
Copy link
Member

Choose a reason for hiding this comment

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

Should we get rid of the alpha usage?

Copy link
Member Author

Choose a reason for hiding this comment

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

I don't think so because, for grey palette, there are no channel colors.

Copy link
Member

@mnajdova mnajdova left a comment

Choose a reason for hiding this comment

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

Left just one comment, the rest looks good

@siriwatknp siriwatknp merged commit 1e4dd5f into mui:master Dec 9, 2022
@oliviertassinari
Copy link
Member

Great, this solves https://mui.zendesk.com/agent/tickets/6043.

@oliviertassinari oliviertassinari added bug 🐛 Something doesn't work regression A bug, but worse labels Dec 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something doesn't work regression A bug, but worse website Pages that are not documentation-related, marketing-focused.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants