From b4399355d569f78257224002269e22691e9d8ca3 Mon Sep 17 00:00:00 2001 From: Carlos Esteban Lopez Jaramillo Date: Fri, 21 Oct 2022 13:22:34 -0500 Subject: [PATCH] Update docs/dls/component-design-guidelines.md Co-authored-by: Phil Kuang Signed-off-by: Carlos Esteban Lopez Jaramillo --- docs/dls/component-design-guidelines.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/dls/component-design-guidelines.md b/docs/dls/component-design-guidelines.md index 3d907d7dec..7c0f3e224b 100644 --- a/docs/dls/component-design-guidelines.md +++ b/docs/dls/component-design-guidelines.md @@ -40,7 +40,7 @@ color palette and typography: Any component that needs a color to put in the styles should be using the theme's color palette, most Backstage components and all MUI components should use the theme's color palette by default, so unless you need explicit control -on the color of a component (say when the component was design to use the +on the color of a component (say when the component was designed to use the primay 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).