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:39 -05:00
committed by GitHub
parent 33ee80aba6
commit 5c49a73041
+1 -1
View File
@@ -45,7 +45,7 @@ primary color but you want to use the secondary), then the easiest way to access
the color palette is with [`useTheme` hook](https://mui.com/material-ui/customization/theming/#accessing-the-theme-in-a-component).
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 it's content with a
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: