Global Console
Card body · text-body-sm · text-muted-foreground · 1.6 line height.
把 XAISites 已实现的设计系统压缩到一页:栅格、间距、组件、按钮与链接、Hero 与 Module 布局。所有样例直接渲染自项目代码,改了 token 这里就跟着变。
12 列响应式栅格 · 8px 节奏 · 三档容器宽度。同一个尺度贯穿全站。
space-14pxspace-28pxspace-312pxspace-416pxspace-624pxspace-832pxspace-1248pxspace-1664pxmax-w-3xl768pxReading column · long-formmax-w-5xl1024pxPage hero · narrativemax-w-7xl1280pxDefault page shellpx (mobile)16pxpx-4px (tablet+)24 / 32pxsm:px-6 lg:px-8section py112 / 144pxpy-28 sm:py-36hero pt144 / 176pxpt-36 sm:pt-44card padding32 / 40pxp-8 sm:p-10grid gap24pxgap-6 defaultgrid gap (hairline)1pxgap-px on bg-border/40smmdlgxl2xlDisplay / Heading / Body / Caption 四档共 12 个 token,标题用 clamp 流体缩放。
.text-display-xl.text-display-lg.text-heading-lg.text-heading-md.text-heading-sm.text-body-lg.text-body.text-body-sm.text-eyebrow.text-overline.text-stat.text-captionCard · Stat · Eyebrow · Tag · Divider — 站内出现频率最高的五个原子组件。
rounded-2xl hairline bg-gradient-card p-87×24 自动化客服、直播与营销机器人。
text-stat text-accent-glowrounded-full hairline px-3 py-1.text-eyebrow + h2.text-gradient数百品牌、数百万店铺,统一在六个模块下编排。
grid gap-px bg-border/40bg-success/15 text-success三档按钮(Primary / Ghost / Outline)+ 三档链接(Inline / Mono CTA / Nav)。
<Button className="bg-gradient-primary text-primary-foreground shadow-glow" /><Button variant="ghost" /><Button variant="outline" className="hairline" />size=lgh-10 px-8Hero CTAsize=defaulth-9 px-4In-page actionsize=smh-8 px-3Header / table actionradiusrounded-md6px globalunderline-offset-4 text-primary hover:underlineRead the full capabilities overview before applying.
font-mono text-xs uppercase tracking-wider text-primarytext-sm text-muted-foreground hover:text-foreground:hoveropacity / underline / gap+1:focus-visible2px ring-primary, 2px offset:activeopacity-90:disabledopacity-50, no events首屏 Hero 与栅格 Module 的标准结构、留白与断点行为。
max-w-7xl · pt-36 sm:pt-44 · pb-28 sm:pb-36Subhead — body text, max-w-xl, centered. Two-line max for visual balance.
py-1.5 px-4 · gap-2mt-8mt-10gap-3gap-px · sm:grid-cols-2 · lg:grid-cols-3Section sub-headline · max-w-2xl · text-muted-foreground.
Card body · text-body-sm · text-muted-foreground · 1.6 line height.
Card body · text-body-sm · text-muted-foreground · 1.6 line height.
Card body · text-body-sm · text-muted-foreground · 1.6 line height.
py-28 sm:py-36mt-12 / mt-16p-8 sm:p-10gap-px on bg-border/40本页是设计与开发之间的合同。任何偏离需要在 PR 中 @design 评审。