-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
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
Conversation
/core
and /x
pages to use CSS variables/core
page to use CSS variables
|
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), |
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.
Should we get rid of the alpha
usage?
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.
I don't think so because, for grey
palette, there are no channel colors.
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.
Left just one comment, the rest looks good
Great, this solves https://mui.zendesk.com/agent/tickets/6043. |
Preview: https://deploy-preview-35366--material-ui.netlify.app/core/
part of #34880