From b8087eb6b13792a5bc98350c70fdf13885e30873 Mon Sep 17 00:00:00 2001 From: Onitoxan Date: Wed, 11 Sep 2024 09:02:04 +0200 Subject: [PATCH] Add transition to button --- libs/hpc-ui/src/lib/components/button.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/hpc-ui/src/lib/components/button.tsx b/libs/hpc-ui/src/lib/components/button.tsx index d789c525..0df2ea2a 100644 --- a/libs/hpc-ui/src/lib/components/button.tsx +++ b/libs/hpc-ui/src/lib/components/button.tsx @@ -130,6 +130,7 @@ const StyledBaseButton = styled(BaseButton)` &:hover, &:focus, &.${CLS.ACTIVE} { + transition: ease-out 0.1s; text-decoration: none; background-color: ${(p) => p.theme.colors.pallete.gray.light}; color: #fff;