fix: focus outline width (#40839)

This commit is contained in:
MadCcc 2023-02-22 10:34:51 +08:00 committed by GitHub
parent 16e90b2301
commit b9a1e08ba4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -127,7 +127,7 @@ export const genCommonStyle = (token: DerivativeToken, componentPrefixCls: strin
};
export const genFocusOutline = (token: DerivativeToken): CSSObject => ({
outline: `${token.lineWidthBold}px solid ${token.colorPrimaryBorder}`,
outline: `${token.lineWidth * 4}px solid ${token.colorPrimaryBorder}`,
outlineOffset: 1,
transition: 'outline-offset 0s, outline 0s',
});