init: 初始化 AssetX 项目仓库
包含 webapp(Next.js 用户端)、webapp-back(Go 后端)、 antdesign(管理后台)、landingpage(营销落地页)、 数据库 SQL 和配置文件。
This commit is contained in:
24
landingpage/styles/tokens/spacing.ts
Normal file
24
landingpage/styles/tokens/spacing.ts
Normal file
@@ -0,0 +1,24 @@
|
||||
/**
|
||||
* Design System - Spacing
|
||||
*
|
||||
* 间距规范定义
|
||||
*/
|
||||
|
||||
export const spacing = {
|
||||
0: '0',
|
||||
1: '0.25rem', // 4px
|
||||
2: '0.5rem', // 8px
|
||||
3: '0.75rem', // 12px
|
||||
4: '1rem', // 16px
|
||||
5: '1.25rem', // 20px
|
||||
6: '1.5rem', // 24px
|
||||
8: '2rem', // 32px
|
||||
10: '2.5rem', // 40px
|
||||
12: '3rem', // 48px
|
||||
16: '4rem', // 64px
|
||||
20: '5rem', // 80px
|
||||
24: '6rem', // 96px
|
||||
32: '8rem', // 128px
|
||||
} as const;
|
||||
|
||||
export type Spacing = typeof spacing;
|
||||
Reference in New Issue
Block a user