Increase stroke width on hover

This commit is contained in:
Daniel Cojocea committed 2024-09-17 21:03:47 -04:00
1 parent daa1e07ef8
commit e8cb09c168
6 files changed
+27 -13

No files matched your search

@@ -41,6 +41,7 @@ export const ChartBox = styled(Stack)(({ theme }) => ({
},
"& path": {
transition: "fill 300ms ease",
transition: "stroke-width 400ms ease",
},
}));
+3 -3
View File
@@ -40,9 +40,9 @@ const useUtils = () => {
"& h2": { color: theme.palette.error.main },
},
paused: {
backgroundColor: theme.palette.warning.light,
background: `linear-gradient(340deg, ${theme.palette.warning.dark} -60%, ${theme.palette.warning.light} 35%)`,
borderColor: theme.palette.warning.dark,
backgroundColor: theme.palette.warning.bg,
background: `linear-gradient(340deg, ${theme.palette.warning.light} -60%, ${theme.palette.warning.bg} 35%)`,
borderColor: theme.palette.warning.light,
"& h2": { color: theme.palette.warning.main },
},
pending: {