Merge pull request #847 from bluewave-labs/feat/area-stroke-hover

Increase stroke width on hover
This commit is contained in:
Alexander Holliday authored and GitHub committed 2024-09-17 18:37:34 -07:00
commit 637641f44f
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: {