Skip to content

Commit a709efa

Browse files
committed
fix: disable mac sidebar transparency for electron 31+ changes
1 parent fc34675 commit a709efa

File tree

3 files changed

+21
-21
lines changed

3 files changed

+21
-21
lines changed

src/renderer/Presentational/Sidebar/sidebar.css.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ export const container = style({
1313
height: '100%',
1414
backgroundColor: vars.components.sidebarBackground,
1515
// backdropFilter: 'blur(40px)',
16-
selectors: {
17-
'&.darwin': {
18-
backgroundColor: 'transparent',
19-
backdropFilter: 'blur(40px)',
20-
},
21-
},
16+
// selectors: {
17+
// '&.darwin': {
18+
// backgroundColor: 'transparent',
19+
// backdropFilter: 'blur(40px)',
20+
// },
21+
// },
2222
});
2323

2424
export const titleItem = style({

src/renderer/app.css.ts

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,11 @@ export const borderLeft = style({
4141
backgroundColor: vars.components.sidebarBackground,
4242
width: 3,
4343
height: '100%',
44-
selectors: {
45-
'&.darwin': {
46-
backgroundColor: 'transparent',
47-
},
48-
},
44+
// selectors: {
45+
// '&.darwin': {
46+
// backgroundColor: 'transparent',
47+
// },
48+
// },
4949
});
5050

5151
export const borderCenter = style({
@@ -59,11 +59,11 @@ export const borderCenterLine = style({
5959
backgroundColor: vars.components.sidebarBorder,
6060
height: '100%',
6161
width: 1,
62-
selectors: {
63-
'&.darwin': {
64-
backgroundColor: vars.components.sidebarMacBorder,
65-
},
66-
},
62+
// selectors: {
63+
// '&.darwin': {
64+
// backgroundColor: vars.components.sidebarMacBorder,
65+
// },
66+
// },
6767
});
6868

6969
export const borderRight = style({

src/renderer/themeManager.css.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ import { vars } from './Generics/redesign/theme.css';
33

44
export const background = style({
55
background: vars.color.background,
6-
selectors: {
7-
'&.darwin': {
8-
background: 'none',
9-
},
10-
},
6+
// selectors: {
7+
// '&.darwin': {
8+
// background: 'none',
9+
// },
10+
// },
1111
});

0 commit comments

Comments
 (0)