-
-
Notifications
You must be signed in to change notification settings - Fork 32.8k
Open
Labels
scope: systemThe system, the design tokens / styling foundations used across components. eg. @mui/system with MUIThe system, the design tokens / styling foundations used across components. eg. @mui/system with MUItype: new featureExpand the scope of the product to solve a new problem.Expand the scope of the product to solve a new problem.waiting for 👍Waiting for upvotes. Open for community feedback and needs more interest to be worked on.Waiting for upvotes. Open for community feedback and needs more interest to be worked on.
Description
Hi,
is this possible extend PaperClassKey and PaperProps with custom values?
I would like to get something like this:
export const theme = createMuiTheme({
overrides: {
MuiPaper: {
dark: {
backgroundColor: COLORS.BLACK,
},
light: {
backgroundColor: COLORS.WHITE,
},
},
},
});And using the component would look like this:
<Paper filled="dark" />
oliviertassinari, shripadk, grieblius, JonKrone, hakob-c8r and 3 more
Metadata
Metadata
Assignees
Labels
scope: systemThe system, the design tokens / styling foundations used across components. eg. @mui/system with MUIThe system, the design tokens / styling foundations used across components. eg. @mui/system with MUItype: new featureExpand the scope of the product to solve a new problem.Expand the scope of the product to solve a new problem.waiting for 👍Waiting for upvotes. Open for community feedback and needs more interest to be worked on.Waiting for upvotes. Open for community feedback and needs more interest to be worked on.