mtr1990

Results 14 comments of mtr1990

> When enabled or not enabled? My behavior is to style in .jsx file with: `styled` (enableCssLayer ===true) Ex: `export const StyledToaster = styled(SonnerToaster)(({ theme }) => {...}` And it...

[Update] with `enableCssLayer = false` I change: ```js styleOverrides: { thumb: ({ theme }) => ({ borderWidth: 1, borderStyle: 'solid', width: SIZE.thumb.medium, height: SIZE.thumb.medium, boxShadow: theme.customShadows.z1, color: theme.vars.palette.common.white, borderColor: varAlpha(theme.vars.palette.grey['500Channel'],...

> FYI, downgrading the VSCode version to an October release fixed the issue for me This way is effective [https://code.visualstudio.com/updates/v1_95]( https://code.visualstudio.com/updates/v1_95)

On MUI's https://mui.com/x/react-date-pickers/date-picker/ with `MobileDatePicker` In incognito and normal mode (Chrome version 127.0.6533.89) ![x-1](https://github.com/user-attachments/assets/d4991a94-67a8-47ee-ba30-fea345967a64)

@siriwatknp maybe it's also related https://github.com/mui/material-ui/issues/43263 I just tried with `disableClientRerender` and "@mui/material": "https://pkg.csb.dev/mui/material-ui/commit/2b33a223/@mui/material", And it works as expected. No more flickering

Thanks for the feedback. Looking forward to this new feature :)

Thanks for your response but it seems this document you provided doesn't work for me. As far as I understand `createTheme` creates a default mode of `light`. But `mode` and...

Hi @siriwatknp > The reason is why do you want your app to be light by default when the user prefers dark? Because for my application the color palette in...

> @mtr1990 Can you try this? > > ```json > { > "@mui/material": "https://pkg.csb.dev/mui/material-ui/commit/e07eebfd/@mui/material" > } > ``` Thanks @siriwatknp It works 👍 . I will come back if there...

> The trick here is to use a type generic: > > ```ts > function Li({ children, ...other }: BoxProps) { > > function Ul({ children, ...other }: BoxProps) {...