Update docs/dls/component-design-guidelines.md

Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Signed-off-by: Carlos Esteban Lopez Jaramillo <luchillo17@gmail.com>
This commit is contained in:
Carlos Esteban Lopez Jaramillo
2022-10-27 09:10:48 -05:00
committed by GitHub
parent 5c49a73041
commit d4e4e45437
+1 -1
View File
@@ -47,7 +47,7 @@ the color palette is with [`useTheme` hook](https://mui.com/material-ui/customiz
It's not a very common use case to override a theme color in a MUI component
but let's say you have a Paper component that highlights its content with a
different color for a side menu or something (usually you use the elevation,
but maybe the designer wanted a colorful app), you can use the theme like this:
but maybe the designer wanted a colorful app). You can use the theme like this:
```tsx
import { useTheme } from '@mui/material/styles';