Skip to content

Commit

Permalink
Dark theme background fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
Leshe4ka committed Apr 24, 2024
1 parent c8e3efe commit fb76a03
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export const Sidebar = styled.div<{ $visible: boolean }>(
overflow-y: auto;
transition: width 0.25s, opacity 0.25s, transform 0.25s,
-webkit-transform 0.25s;
background: ${theme.layout.mainBackgroundColor};
background: ${theme.default.backgroundColor};
transform: ${$visible ? 'translateX(0)' : 'translateX(-100%)'};
@media screen and (max-width: 1024px) {
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/theme/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ export const theme = {
color: {
normal: Colors.neutral[90],
},
backgroundColor: Colors.neutral[0],
backgroundColor: Colors.brand[0],
transparentColor: 'transparent',
},
link: {
Expand Down Expand Up @@ -836,7 +836,7 @@ export const darkTheme: ThemeType = {
color: {
normal: Colors.neutral[0],
},
backgroundColor: Colors.neutral[90],
backgroundColor: Colors.brand[90],
transparentColor: 'transparent',
},
link: {
Expand Down

0 comments on commit fb76a03

Please sign in to comment.