Skip to content

Commit

Permalink
[docs-infra] Update the outlined Demo container dark mode color (#40488)
Browse files Browse the repository at this point in the history
  • Loading branch information
danilo-leal committed Jan 10, 2024
1 parent 0d93e4a commit a1005d6
Showing 1 changed file with 4 additions and 4 deletions.
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

0 comments on commit a1005d6

Please sign in to comment.