Spacing 间距

间距 token 定义与使用场景,从紧凑到宽松的完整间距比例体系。

Base Scale 基础间距(4-16px)
--spacing-xs
4px
图标间距 · 紧凑元素
--spacing-sm
8px
元素内边距 · 小间隔
--spacing-md
12px
组件间距 · 表单行距
--spacing-lg
16px
区块间距 · 卡片内边距
Large Scale 大间距(24-32px)
--spacing-xl
24px
大区块间距 · 模块分隔
--spacing-xxl
32px
页面边距 · 大区域留白