Skip to content

Commit 0151a6a

Browse files
authored
[core] Avoid the need for @mui/material/themeCssVarsAugmentation (#46053)
1 parent 0a5c027 commit 0151a6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/mui-material/src/styles/createThemeNoVars.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ type CssVarsProperties = CssThemeVariables extends { enabled: true }
7474
| 'shouldSkipGeneratingVar'
7575
| 'vars'
7676
>
77-
: {};
77+
: Partial<Pick<CssVarsTheme, 'vars'>>;
7878

7979
/**
8080
* Our [TypeScript guide on theme customization](https://mui.com/material-ui/guides/typescript/#customization-of-theme) explains in detail how you would add custom properties.

0 commit comments

Comments
 (0)