Skip to content

Commit fe2bd93

Browse files
authored
fix(tabs): add border-color transition for smoother animation (#1904)
1 parent 6b6e601 commit fe2bd93

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/tabs/src/styled/StyledTabList.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ const colorStyles = ({ theme }: ThemeProps<DefaultTheme>) => {
2424
const foregroundColor = getColor({ theme, variable: 'foreground.default' });
2525

2626
return css`
27+
transition: border-color 0.25s ease-in-out;
2728
color-scheme: only ${p => p.theme.colors.base};
2829
border-bottom-color: ${borderColor};
2930
color: ${foregroundColor};

0 commit comments

Comments
 (0)