From a1005d6cedcba5731cbf8f0c4837229432ec8d38 Mon Sep 17 00:00:00 2001 From: Danilo Leal <67129314+danilo-leal@users.noreply.github.com> Date: Wed, 10 Jan 2024 00:32:21 -0300 Subject: [PATCH] [docs-infra] Update the outlined Demo container dark mode color (#40488) --- docs/src/modules/components/Demo.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/src/modules/components/Demo.js b/docs/src/modules/components/Demo.js index 6693f11768db8a..2efaf4f13ebb95 100644 --- a/docs/src/modules/components/Demo.js +++ b/docs/src/modules/components/Demo.js @@ -299,10 +299,10 @@ const DemoRootJoy = joyStyled('div', { borderColor: grey[100], borderLeftWidth: 0, borderRightWidth: 0, - backgroundColor: '#fff', + backgroundColor: 'transparent', ...theme.applyDarkStyles({ - borderColor: alpha(grey[700], 0.3), - backgroundColor: alpha(blueDark[700], 0.2), + borderColor: alpha(blueDark[500], 0.3), + backgroundColor: alpha(theme.palette.neutral[900], 0.8), }), }), /* Prepare the background to display an inner elevation. */ @@ -328,7 +328,7 @@ const DemoRootJoy = joyStyled('div', { radial-gradient(at 93% 85%, ${alpha(blue[100], 0.2)} 0px, transparent 50%);`, ...theme.applyDarkStyles({ backgroundColor: alpha(blue[900], 0.1), - borderColor: alpha(grey[700], 0.3), + borderColor: alpha(blueDark[700], 1), backgroundImage: `radial-gradient(at 51% 52%, ${alpha( blueDark[700], 0.5,