Increase stroke width on hover
This commit is contained in:
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",
|
||||
},
|
||||
}));
|
||||
|
||||
|
||||
@@ -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: {
|
||||
|
||||
Reference in new issue
Block a user