Skip to content

Commit

Permalink
fix: tabs background color within split subvariant
Browse files Browse the repository at this point in the history
  • Loading branch information
chybisov committed Jun 2, 2023
1 parent 93156f7 commit beb78c6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export const NavbarTabs: StyledComponent<TabsProps> = styled(Tabs)(
({ theme }) => ({
backgroundColor:
theme.palette.mode === 'dark'
? theme.palette.common.white
? theme.palette.background.paper
: alpha(theme.palette.common.black, 0.04),
borderRadius: Math.max(
theme.shape.borderRadius,
Expand All @@ -31,7 +31,7 @@ export const NavbarTabs: StyledComponent<TabsProps> = styled(Tabs)(
height: 48,
backgroundColor:
theme.palette.mode === 'dark'
? theme.palette.common.black
? theme.palette.background.default
: theme.palette.common.white,
borderRadius: theme.shape.borderRadiusSecondary,
boxShadow: `0px 2px 4px ${alpha(theme.palette.common.black, 0.04)}`,
Expand Down

0 comments on commit beb78c6

Please sign in to comment.