mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-30 22:34:10 -05:00
feat(ui-components): update hover background color of package list (#5016)
This color was fixed in #4687 and looks too dark. Use the original hover color defined in [@mui/material](https://github.com/mui/material-ui/blob/v5.16.5/packages/mui-material/src/styles/createPalette.js#L36)
This commit is contained in:
parent
b2c6d3a769
commit
970e0c9157
2 changed files with 6 additions and 2 deletions
5
.changeset/real-seahorses-change.md
Normal file
5
.changeset/real-seahorses-change.md
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
---
|
||||||
|
'@verdaccio/ui-components': minor
|
||||||
|
---
|
||||||
|
|
||||||
|
update hover background color of package list
|
|
@ -71,8 +71,7 @@ export const GridRightAligned = styled(Grid)({
|
||||||
|
|
||||||
export const Wrapper = styled(List)<{ theme?: Theme }>(({ theme }) => ({
|
export const Wrapper = styled(List)<{ theme?: Theme }>(({ theme }) => ({
|
||||||
'&:hover': {
|
'&:hover': {
|
||||||
backgroundColor:
|
backgroundColor: theme.palette.action.hover,
|
||||||
theme.palette.mode == 'dark' ? theme.palette.secondary.main : theme.palette.greyLight2,
|
|
||||||
},
|
},
|
||||||
}));
|
}));
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue