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] Update theme customization typescript #35551

Merged
merged 1 commit into from
May 11, 2023

Conversation

siriwatknp
Copy link
Member

close #29008

@siriwatknp siriwatknp added the docs Improvements or additions to the documentation label Dec 21, 2022
@mui-bot
Copy link

mui-bot commented Dec 21, 2022

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

No bundle size changes

Generated by 🚫 dangerJS against 381e01e

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.

Looks better 👍

@siriwatknp siriwatknp merged commit 2e58730 into mui:master May 11, 2023
binh1298 pushed a commit to binh1298/material-ui that referenced this pull request May 17, 2023
@@ -44,15 +44,20 @@ const theme = createTheme({
});
```

**WARNING**: `vars` is a private field used for CSS variables support. It will throw an error if you try to use it:
:::warning
⚠️ `vars` is a private field for [CSS theme variables](material-ui/experimental-api/css-theme-variables/overview/). It will throw an error if you try to pass a value to it:
Copy link
Member

Choose a reason for hiding this comment

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

This is a 404, fixed in #37326.

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 package: material-ui Specific to @mui/material typescript
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Documentation for extending theme is wrong. Module Augmentation does not work.
4 participants