From 12dc9497dc8346a9607eab82e7998ccbb37f9e22 Mon Sep 17 00:00:00 2001 From: Danilo Leal <67129314+danilo-leal@users.noreply.github.com> Date: Tue, 27 Feb 2024 11:34:36 -0300 Subject: [PATCH] [docs-infra] Adjust headings dark mode color (#41292) --- docs/src/modules/components/MarkdownElement.js | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/docs/src/modules/components/MarkdownElement.js b/docs/src/modules/components/MarkdownElement.js index bb9a42b4d40ac5..ac0f7313cc6b91 100644 --- a/docs/src/modules/components/MarkdownElement.js +++ b/docs/src/modules/components/MarkdownElement.js @@ -586,21 +586,9 @@ const Root = styled('div')( '& hr': { backgroundColor: `var(--muidocs-palette-divider, ${darkTheme.palette.divider})`, }, - '& h1': { + '& h1, & h2, & h3, & h4, & h5': { color: `var(--muidocs-palette-grey-50, ${darkTheme.palette.grey[50]})`, }, - '& h2': { - color: `var(--muidocs-palette-grey-100, ${darkTheme.palette.grey[100]})`, - }, - '& h3': { - color: `var(--muidocs-palette-grey-200, ${darkTheme.palette.grey[200]})`, - }, - '& h4': { - color: `var(--muidocs-palette-grey-300, ${darkTheme.palette.grey[300]})`, - }, - '& h5': { - color: `var(--muidocs-palette-grey-300, ${darkTheme.palette.grey[300]})`, - }, '& p, & ul, & ol': { color: `var(--muidocs-palette-grey-400, ${darkTheme.palette.grey[400]})`, },