Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[docs-infra] Update the outlined Demo container dark mode color #40488

Merged
merged 8 commits into from
Jan 10, 2024
8 changes: 4 additions & 4 deletions docs/src/modules/components/Demo.js
Original file line number Diff line number Diff line change
Expand Up @@ -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. */
Expand All @@ -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,
Expand Down