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:
committed by
GitHub
parent
33ee80aba6
commit
5c49a73041
@@ -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:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user