Skip to content

Commit

Permalink
feat: TryQuiet#1502 respect browser night-mode, fix sidebar and messa…
Browse files Browse the repository at this point in the history
…ge highlight colors
  • Loading branch information
mike-kiss committed May 11, 2024
1 parent 1a3ad45 commit ecd239a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const StyledGrid = styled(Grid)(({ theme }) => ({
minHeight: '100%',
width: '220px',
position: 'relative',
backgroundImage: 'linear-gradient(290.29deg, #521576 18.61%, #E42656 96.07%)',
backgroundImage: theme.palette.colors.sidebarBackground,
color: theme.palette.colors.white,
},

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const StyledListItem = styled(ListItem)(({ theme }) => ({
[`&.${classes.wrapper}`]: {
backgroundColor: theme.palette.background.default,
'&:hover': {
backgroundColor: theme.palette.colors.gray03,
backgroundColor: theme.palette.background.paper,
},
},

Expand Down
5 changes: 5 additions & 0 deletions packages/desktop/src/renderer/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@
<link rel="preload" href="iJWHBXyIfDnIV7EyjmmT8WDm7Q.woff2" as="font" type="font/woff2">
<link rel="preload" href="iJWHBXyIfDnIV7Eyjmmd8WA.woff2" as="font" type="font/woff2">
<style>
@media (prefers-color-scheme: dark) {
:root {
color-scheme: dark;
}
}
@font-face {
font-family: 'Menlo Regular';
font-style: normal;
Expand Down

0 comments on commit ecd239a

Please sign in to comment.