feat(web): 按钮内边距调整为 20px,全局圆角调整为 12px
设置卡片自定义 CSS 圆角同步 8→12px。
This commit is contained in:
@@ -11,7 +11,7 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
max-width: 560px;
|
max-width: 560px;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
border-radius: 8px;
|
border-radius: 12px;
|
||||||
/* 四周柔和阴影,与内容区背景拉开层次 */
|
/* 四周柔和阴影,与内容区背景拉开层次 */
|
||||||
box-shadow: 0 0 24px 0 rgba(17, 24, 39, 0.12);
|
box-shadow: 0 0 24px 0 rgba(17, 24, 39, 0.12);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -12,7 +12,8 @@ function App() {
|
|||||||
theme={{
|
theme={{
|
||||||
token: {
|
token: {
|
||||||
colorPrimary: '#8b5cf6',
|
colorPrimary: '#8b5cf6',
|
||||||
borderRadius: 8,
|
// 全局圆角 12px,输入框/按钮/卡片等同步生效
|
||||||
|
borderRadius: 12,
|
||||||
// 全局正文字号 14px;输入类控件与按钮经 components 单独放大
|
// 全局正文字号 14px;输入类控件与按钮经 components 单独放大
|
||||||
fontSize: 14,
|
fontSize: 14,
|
||||||
controlHeight: 34,
|
controlHeight: 34,
|
||||||
@@ -29,7 +30,7 @@ function App() {
|
|||||||
controlHeight: 40,
|
controlHeight: 40,
|
||||||
controlHeightSM: 32,
|
controlHeightSM: 32,
|
||||||
// 横向内边距加大(默认 15/7),按钮更修长
|
// 横向内边距加大(默认 15/7),按钮更修长
|
||||||
paddingInline: 22,
|
paddingInline: 20,
|
||||||
paddingInlineSM: 14,
|
paddingInlineSM: 14,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user