Skip to content

Commit

Permalink
fix: disable mac sidebar transparency for electron 31+ changes
Browse files Browse the repository at this point in the history
  • Loading branch information
jgresham committed Jul 31, 2024
1 parent fc34675 commit a709efa
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 21 deletions.
12 changes: 6 additions & 6 deletions src/renderer/Presentational/Sidebar/sidebar.css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ export const container = style({
height: '100%',
backgroundColor: vars.components.sidebarBackground,
// backdropFilter: 'blur(40px)',
selectors: {
'&.darwin': {
backgroundColor: 'transparent',
backdropFilter: 'blur(40px)',
},
},
// selectors: {
// '&.darwin': {
// backgroundColor: 'transparent',
// backdropFilter: 'blur(40px)',
// },
// },
});

export const titleItem = style({
Expand Down
20 changes: 10 additions & 10 deletions src/renderer/app.css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ export const borderLeft = style({
backgroundColor: vars.components.sidebarBackground,
width: 3,
height: '100%',
selectors: {
'&.darwin': {
backgroundColor: 'transparent',
},
},
// selectors: {
// '&.darwin': {
// backgroundColor: 'transparent',
// },
// },
});

export const borderCenter = style({
Expand All @@ -59,11 +59,11 @@ export const borderCenterLine = style({
backgroundColor: vars.components.sidebarBorder,
height: '100%',
width: 1,
selectors: {
'&.darwin': {
backgroundColor: vars.components.sidebarMacBorder,
},
},
// selectors: {
// '&.darwin': {
// backgroundColor: vars.components.sidebarMacBorder,
// },
// },
});

export const borderRight = style({
Expand Down
10 changes: 5 additions & 5 deletions src/renderer/themeManager.css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ import { vars } from './Generics/redesign/theme.css';

export const background = style({
background: vars.color.background,
selectors: {
'&.darwin': {
background: 'none',
},
},
// selectors: {
// '&.darwin': {
// background: 'none',
// },
// },
});

0 comments on commit a709efa

Please sign in to comment.