feat(web): 按钮内边距调整为 20px,全局圆角调整为 12px

设置卡片自定义 CSS 圆角同步 8→12px。
This commit is contained in:
2026-09-03 22:41:18 +08:00
parent 9164fc962e
commit 6879e7a8b7
2 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -11,7 +11,7 @@
width: 100%;
max-width: 560px;
background: #fff;
border-radius: 8px;
border-radius: 12px;
/* 四周柔和阴影,与内容区背景拉开层次 */
box-shadow: 0 0 24px 0 rgba(17, 24, 39, 0.12);
}
+3 -2
View File
@@ -12,7 +12,8 @@ function App() {
theme={{
token: {
colorPrimary: '#8b5cf6',
borderRadius: 8,
// 全局圆角 12px,输入框/按钮/卡片等同步生效
borderRadius: 12,
// 全局正文字号 14px;输入类控件与按钮经 components 单独放大
fontSize: 14,
controlHeight: 34,
@@ -29,7 +30,7 @@ function App() {
controlHeight: 40,
controlHeightSM: 32,
// 横向内边距加大(默认 15/7),按钮更修长
paddingInline: 22,
paddingInline: 20,
paddingInlineSM: 14,
},
},