You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/pages/api/app-bar.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,7 @@ You can learn more about the difference by [reading this guide](/guides/minimizi
26
26
|:-----|:-----|:--------|:------------|
27
27
| <spanclass="prop-name">children</span> | <spanclass="prop-type">node</span> || The content of the component. |
28
28
| <spanclass="prop-name">classes</span> | <spanclass="prop-type">object</span> || Override or extend the styles applied to the component. See [CSS API](#css) below for more details. |
29
-
| <spanclass="prop-name">color</span> | <spanclass="prop-type">'default'<br>| 'inherit'<br>| 'primary'<br>| 'secondary'</span> | <spanclass="prop-default">'primary'</span> | The color of the component. It supports those theme colors that make sense for this component. |
29
+
| <spanclass="prop-name">color</span> | <spanclass="prop-type">'default'<br>| 'inherit'<br>| 'primary'<br>| 'secondary'<br>| 'transparent'</span> | <spanclass="prop-default">'primary'</span> | The color of the component. It supports those theme colors that make sense for this component. |
30
30
| <spanclass="prop-name">position</span> | <spanclass="prop-type">'absolute'<br>| 'fixed'<br>| 'relative'<br>| 'static'<br>| 'sticky'</span> | <spanclass="prop-default">'fixed'</span> | The positioning type. The behavior of the different options is described [in the MDN web docs](https://developer.mozilla.org/en-US/docs/Learn/CSS/CSS_layout/Positioning). Note: `sticky` is not universally supported and will fall back to `static` when unavailable. |
31
31
32
32
The `ref` is forwarded to the root element.
@@ -49,6 +49,8 @@ Any other props supplied will be provided to the root element ([Paper](/api/pape
49
49
| <spanclass="prop-name">colorDefault</span> | <spanclass="prop-name">.MuiAppBar-colorDefault</span> | Styles applied to the root element if `color="default"`.
50
50
| <spanclass="prop-name">colorPrimary</span> | <spanclass="prop-name">.MuiAppBar-colorPrimary</span> | Styles applied to the root element if `color="primary"`.
51
51
| <spanclass="prop-name">colorSecondary</span> | <spanclass="prop-name">.MuiAppBar-colorSecondary</span> | Styles applied to the root element if `color="secondary"`.
52
+
| <spanclass="prop-name">colorInherit</span> | <spanclass="prop-name">.MuiAppBar-colorInherit</span> | Styles applied to the root element if `color="inherit"`.
53
+
| <spanclass="prop-name">colorTransparent</span> | <spanclass="prop-name">.MuiAppBar-colorTransparent</span> | Styles applied to the root element if `color="transparent"`.
52
54
53
55
You can override the style of the component thanks to one of these customization points:
0 commit comments