Skip to content

Commit

Permalink
Tweak transition speed in demos
Browse files Browse the repository at this point in the history
  • Loading branch information
michaldudak committed Aug 20, 2021
1 parent 41858c1 commit 66019df
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/src/pages/components/buttons/UnstyledButtonCustom.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const CustomButtonRoot = styled(ButtonRoot)(
& polygon {
fill: transparent;
transition: all 700ms ease;
transition: all 800ms ease;
pointer-events: none;
}
Expand Down Expand Up @@ -70,7 +70,7 @@ const CustomButtonRoot = styled(ButtonRoot)(
theme.palette.primary.main,
theme.palette.action.activatedOpacity,
)};
transition: fill 200ms ease-out;
transition: fill 300ms ease-out;
}
}
Expand Down
4 changes: 2 additions & 2 deletions docs/src/pages/components/buttons/UnstyledButtonCustom.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const CustomButtonRoot = styled(ButtonRoot)(
& polygon {
fill: transparent;
transition: all 700ms ease;
transition: all 800ms ease;
pointer-events: none;
}
Expand Down Expand Up @@ -69,7 +69,7 @@ const CustomButtonRoot = styled(ButtonRoot)(
theme.palette.primary.main,
theme.palette.action.activatedOpacity,
)};
transition: fill 200ms ease-out;
transition: fill 300ms ease-out;
}
}
Expand Down

0 comments on commit 66019df

Please sign in to comment.