refactor: use css token (#48312)

This commit is contained in:
lijianan 2024-04-07 15:19:16 +08:00 committed by GitHub
parent 47e46fabcc
commit 2386fa69e7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -690,7 +690,7 @@ const genTabStyle: GenerateStyle<TabsToken, CSSObject> = (token: TabsToken) => {
}, },
'&-btn': { '&-btn': {
outline: 'none', outline: 'none',
transition: 'all 0.3s', transition: `all ${token.motionDurationSlow}`,
[`${tabCls}-icon:not(:last-child)`]: { [`${tabCls}-icon:not(:last-child)`]: {
marginInlineEnd: token.marginSM, marginInlineEnd: token.marginSM,
}, },