Skip to content

Can not import createPalette in v7 #46413

Description

@trabati

Steps to reproduce

import createPalette from "@mui/material/styles/createPalette";

Current behavior

createPalette can not be imported anymore:

Image

Expected behavior

No response

Context

No response

Your environment

npx @mui/envinfo
  System:
    OS: macOS 15.4.1
  Binaries:
    Node: 22.12.0 - ~/.nvm/versions/node/v22.12.0/bin/node
    npm: 10.9.0 - ~/.nvm/versions/node/v22.12.0/bin/npm
    pnpm: Not Found
  Browsers:
    Chrome: 137.0.7151.120
    Edge: Not Found
    Safari: 18.4
  npmPackages:
    @emotion/react: ^11.14.0 => 11.14.0 
    @emotion/styled: ^11.14.0 => 11.14.0 
    @mui/core-downloads-tracker:  7.1.2 
    @mui/icons-material: ^7.1.1 => 7.1.2 
    @mui/material: ^7.1.1 => 7.1.2 
    @mui/private-theming:  7.1.1 
    @mui/styled-engine:  7.1.1 
    @mui/system: ^7.1.1 => 7.1.1 
    @mui/types:  7.4.3 
    @mui/utils:  7.1.1 
    @mui/x-data-grid: ^7.22.2 => 7.29.2 
    @mui/x-date-pickers: 8.5.2 => 8.5.2 
    @mui/x-internals:  7.29.0 
    @mui/x-tree-view: ^8.5.2 => 8.5.3 
    @types/react: ^19.1.0 => 19.1.3 
    react: ^19.1.0 => 19.1.0 
    react-dom: ^19.1.0 => 19.1.0 
    typescript: ^5.8.3 => 5.8.3 

Search keywords: createPalette

Metadata

Metadata

Assignees

Labels

customization: themeHigher level theming customizability.scope: systemThe system, the design tokens / styling foundations used across components. eg. @mui/system with MUI

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions