0
Fork 0
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:
Xingwang Liao 2024-12-23 16:38:04 +08:00 committed by GitHub
parent b2c6d3a769
commit 970e0c9157
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 2 deletions

View file

@ -0,0 +1,5 @@
---
'@verdaccio/ui-components': minor
---
update hover background color of package list

View file

@ -71,8 +71,7 @@ export const GridRightAligned = styled(Grid)({
export const Wrapper = styled(List)<{ theme?: Theme }>(({ theme }) => ({
'&:hover': {
backgroundColor:
theme.palette.mode == 'dark' ? theme.palette.secondary.main : theme.palette.greyLight2,
backgroundColor: theme.palette.action.hover,
},
}));