Skip to content

Commit

Permalink
feat: TryQuiet#1502 update sidebar's selected item background to matc…
Browse files Browse the repository at this point in the history
…h Figmas
  • Loading branch information
mike-kiss committed May 16, 2024
1 parent 663afcd commit 3d50808
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,7 @@ const StyledListItemButton = styled(ListItemButton)(({ theme }) => ({

[`&.${classes.selected}`]: {
color: theme.palette.colors.contrastText,
backgroundColor: theme.palette.background.default,
borderTop: `1px solid ${theme.palette.colors.border03}`,
borderBottom: `1px solid ${theme.palette.colors.border03}`,
backgroundColor: theme.palette.colors.sidebarSelected,
},

[`& .${classes.primary}`]: {
Expand Down
4 changes: 3 additions & 1 deletion packages/desktop/src/renderer/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ const lightTheme = createTheme({
border03: '#D2D2D2',
// Other custom colors
sidebarBackground: '#511974',
sidebarSelected: '#fff3',
},
},
//@ts-ignore MUI types expect 25 shadows - see: https://github.com/mui/material-ui/issues/28820
Expand Down Expand Up @@ -315,7 +316,8 @@ const darkTheme = createTheme({
border02: '#B3B3B3',
border03: '#D2D2D2',
// Gradients and other run-of-the-mill things
sidebarBackground: '#2F193D',
sidebarBackground: '#000',
sidebarSelected: '#fff3',
},
},
//@ts-ignore MUI types expect 25 shadows - see: https://github.com/mui/material-ui/issues/28820
Expand Down

0 comments on commit 3d50808

Please sign in to comment.