Skip to content

Commit

Permalink
refactor: use designers styling preference
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabian Stoehr committed Nov 25, 2024
1 parent 076311b commit 9603e9b
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/components/WindowViewSettings.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,17 @@ const ViewOption = styled(MenuItem, { name: 'WindowViewSettings', slot: 'option'
...(selected && {
borderBottomColor: theme.palette.secondary.main,
}),
backgroundColor: 'transparent !important',
'&.Mui-selected': {
backgroundColor: 'transparent !important',
},
'&.Mui-selected.Mui-focusVisible': {
backgroundColor: `${(theme.vars || theme).palette.action.focus} !important`,
},
'&:focused': {
backgroundColor: `${(theme.vars || theme).palette.action.focus} !important`,
},
color: selected ? theme.palette.secondary.main : undefined,
display: 'inline-block',
},
}));

Expand Down

0 comments on commit 9603e9b

Please sign in to comment.