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

[blog] Add Material UI v6 sneak peek #41932

Draft
wants to merge 2 commits into
base: next
Choose a base branch
from

Conversation

siriwatknp
Copy link
Member

@siriwatknp siriwatknp commented Apr 17, 2024

The idea is to connect and get excitement from the community. I try to keep the page concise without too many links.


@mui-bot
Copy link

mui-bot commented Apr 17, 2024

Netlify deploy preview

https://deploy-preview-41932--material-ui.netlify.app/

Bundle size report

No bundle size changes (Toolpad)
No bundle size changes

Generated by 🚫 dangerJS against 183e408


```jsx
const Title = styled('div')(({ theme }) => ({
font: theme.vars.typography.h1,
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
font: theme.vars.typography.h1,
fontFamily: theme.vars.typography.h1.fontFamily,

Or

Suggested change
font: theme.vars.typography.h1,
...theme.vars.typography.h1,

Since the value for h1 in theme is an object.


```css
.some-component {
font: var(--mui-typography-h1);
Copy link
Contributor

Choose a reason for hiding this comment

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

This'll also change

@siriwatknp siriwatknp closed this Apr 22, 2024
@siriwatknp siriwatknp reopened this Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants