Ant 设计系统.
Ant 设计系统 — 结构化的企业级设计系统,强调清晰度、一致性和效率,专为数据密集型 Web 应用而设计。
在真实场景中查看
同一套设计 token 应用于不同类型的产物——网站、应用、幻灯片、海报。这些是用该系统重新换肤的原创样稿,而非截图。
it
real.
设计 token
56 个 token,符合 Open Design 的 token 契约——你的 agent 读取的正是这套结构化的配色、字体、间距和动效值,用以为任意产物设定主题。
表面
-
--bg#ffffff -
--surface#f7f8fa -
--surface-warm#fff1f0
文本
-
--fg#1f1f1f -
--fg-2#4b5563 -
--muted#697386 -
--meta#d32029
边框
-
--border#d9dce3 -
--border-soft#eef0f4
强调色
-
--accent#d32029 -
--accent-on#ffffff -
--accent-hovercolor-mix(in oklab, var(--accent), black 8%) -
--accent-activecolor-mix(in oklab, var(--accent), black 14%)
语义
-
--success#22a06b -
--warn#faad14 -
--danger#cf1322
字体排印
-
--font-display"Ant Sans", "Alibaba PuHuiTi", Inter, Arial, sans-serif -
--font-body"Ant Sans", "Alibaba PuHuiTi", Inter, Arial, sans-serif -
--font-mono"SF Mono", ui-monospace, Menlo, monospace
字号层级
-
--text-xs12px -
--text-sm14px -
--text-base16px -
--text-lg18px -
--text-xl22px -
--text-2xl32px -
--text-3xl48px -
--text-4xl64px -
--leading-body1.52 -
--leading-tight1.08 -
--tracking-display-0.018em
间距
-
--space-14px -
--space-28px -
--space-312px -
--space-416px -
--space-520px -
--space-624px -
--space-832px -
--space-1248px -
--section-y-desktop96px -
--section-y-tablet68px -
--section-y-phone48px
圆角
-
--radius-sm6px -
--radius-md10px -
--radius-lg16px -
--radius-pill9999px
层级阴影
-
--elev-flatnone -
--elev-ring0 0 0 1px var(--border) -
--elev-raised0 18px 42px rgba(31, 31, 31, 0.10)
聚焦
-
--focus-ring0 0 0 4px rgba(211, 32, 41, 0.22)
动效
-
--motion-fast140ms -
--motion-base220ms -
--ease-standardcubic-bezier(0.2, 0, 0, 1)
布局
-
--container-max1200px -
--container-gutter-desktop36px -
--container-gutter-tablet24px -
--container-gutter-phone16px
Design System Inspired by Ant
Category: Professional & Corporate Structured, enterprise-focused design system emphasizing clarity, consistency, and efficiency for data-dense web applications.
1. Visual Theme & Atmosphere
Structured, enterprise-focused design system emphasizing clarity, consistency, and efficiency for data-dense web applications.
- Visual style: data-dense, enterprise
- Color stance: primary, neutral, success, warning, danger
- Design intent: Keep outputs recognizable to this style family while preserving usability and readability.
2. Color
-
Primary:
#1677FF— Token from style foundations. -
Secondary:
#8B5CF6— Token from style foundations. -
Success:
#16A34A— Token from style foundations. -
Warning:
#D97706— Token from style foundations. -
Danger:
#DC2626— Token from style foundations. -
Surface:
#FFFFFF— Token from style foundations. -
Text:
#111827— Token from style foundations. -
Neutral:
#FFFFFF— Derived from the surface token for official format compatibility. -
Favor Primary (#1677FF) for CTA emphasis.
-
Use Surface (#FFFFFF) for large backgrounds and cards.
-
Keep body copy on Text (#111827) for legibility.
3. Typography
- Scale: 12/14/16/20/24/32
- Families: primary=Plus Jakarta Sans, display=Plus Jakarta Sans, mono=JetBrains Mono
- Weights: 100, 200, 300, 400, 500, 600, 700, 800, 900
- Headings should carry the style personality; body text should optimize scanability and contrast.
4. Spacing & Grid
- Spacing scale: 4/8/12/16/24/32
- Keep vertical rhythm consistent across sections and components.
- Align columns and modules to a predictable grid; avoid ad-hoc offsets.
5. Layout & Composition
- Prefer clear content blocks with consistent internal padding.
- Keep hierarchy obvious: headline → support text → primary action.
- Use whitespace to separate concerns before adding borders or shadows.
6. Components
- Buttons: primary action uses
#1677FF; secondary actions stay neutral. - Inputs: strong focus-visible states, clear labels, and predictable error messaging.
- Cards/sections: use consistent radii, spacing, and elevation strategy across the page.
7. Motion & Interaction
- Use subtle transitions that emphasize Primary (#1677FF) as the interaction signal.
- Default to short, purposeful transitions (150–250ms) with stable easing.
- Ensure hover, focus-visible, active, disabled, and loading states are explicit.
8. Voice & Brand
- Tone should reflect the visual style: concise, confident, and product-specific.
- Keep microcopy action-oriented and avoid generic filler language.
- Preserve the style identity in headlines while keeping UI labels literal and clear.
9. Anti-patterns
- Do not introduce off-palette colors when an existing token can solve the problem.
- Do not flatten hierarchy by using the same type size/weight for all text.
- Do not add decorative effects that reduce readability or accessibility.
- Do not mix unrelated visual metaphors in the same interface.
标签
design-systemfirst-partydesignprofessional-corporate