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

Please support 5.15.14 #163

Open
CRC32EX opened this issue Apr 4, 2024 · 1 comment
Open

Please support 5.15.14 #163

CRC32EX opened this issue Apr 4, 2024 · 1 comment

Comments

@CRC32EX
Copy link

CRC32EX commented Apr 4, 2024

Step to reproduce this issue

  1. clone this repository
git clone https://github.com/devias-io/material-kit-react
  1. update @mui/material
npm add @mui/[email protected]
  1. Run
npm run dev

Error detail

MUI: Can't create `palette.paperChannel` because `palette.paper` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().
To suppress this warning, you need to explicitly provide the `palette.paperChannel` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.

package.json

{
  "dependencies": {
    "@mui/material": "^5.15.14",
}
@arobert93
Copy link
Contributor

Thank you for reporting it, I'll try to update it soon. Meanwhile open src/styles/theme/color-schemes.ts file and where we define paper key, for both dark and light modes, add another key paperChannel with the value of the CSS variable used in paper in a hex format instead of a variable, e.g. #ffffff.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants