Skip to content

Commit

Permalink
bonus: consistency with the components card background
Browse files Browse the repository at this point in the history
  • Loading branch information
danilo-leal committed Nov 30, 2023
1 parent b382599 commit 9295b4c
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions docs/src/modules/components/BaseUIComponents.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,18 +159,12 @@ export default function BaseUIComponents() {
image={component.srcLight}
sx={(theme) => ({
aspectRatio: '16 / 9',
background: `linear-gradient(180deg, ${alpha(
theme.palette.grey[50],
0.5,
)} 20%, #FFF 100%)`,
background: `${(theme.vars || theme).palette.gradients.linearSubtle}`,
borderBottom: '1px solid',
borderColor: 'divider',
...theme.applyDarkStyles({
content: `url(${component.srcDark})`,
background: `linear-gradient(180deg, ${alpha(
theme.palette.primaryDark[800],
0.5,
)} 20%, ${theme.palette.primaryDark[900]} 100%)`,
background: `${(theme.vars || theme).palette.gradients.linearSubtle}`,
borderColor: 'divider',
}),
})}
Expand Down

0 comments on commit 9295b4c

Please sign in to comment.