mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-11-30 11:08:45 +08:00
feat: radio dot size (#37452)
This commit is contained in:
parent
39d155bfff
commit
42d8d95327
@ -494,7 +494,7 @@ export default genComponentStyleHook('Radio', token => {
|
||||
colorPrimary,
|
||||
marginXS,
|
||||
controlOutlineWidth,
|
||||
fontSizeIcon,
|
||||
paddingXXS,
|
||||
} = token;
|
||||
|
||||
// Radio
|
||||
@ -503,7 +503,7 @@ export default genComponentStyleHook('Radio', token => {
|
||||
|
||||
const radioSize = fontSizeLG;
|
||||
const radioTop = (Math.round(fontSize * lineHeight) - radioSize) / 2;
|
||||
const radioDotSize = fontSizeIcon / 2;
|
||||
const radioDotSize = radioSize - (paddingXXS + controlLineWidth) * 2;
|
||||
const radioDotColor = colorPrimary;
|
||||
|
||||
// Radio buttons
|
||||
|
Loading…
Reference in New Issue
Block a user