Design System.
用于所有公开页面的 VGS 品牌指南、组件库与设计模式的权威来源。
配色方案
在 Tailwind 配置中定义的品牌与界面颜色。在所有页面中一致地使用这些类。
品牌
brand-500
#F0E6C8
brand-400
#F4ECCE
brand-300
#FAF6E7
brand-600
#B5A87F
brand-700
#B45309
brand-800
#92400E
灰阶
gray-900
#18181b
gray-800
#27272a
gray-700
#3f3f46
gray-600
#52525b
gray-500
#71717a
gray-400
#a1a1aa
状态色
emerald-400
Success
rose-500
Danger
sky-400
Info
amber-500
Warning
排版
两个字体家族构成排版系统。Audiowide 用于标题与展示文字,Inter(无衬线)用于正文与界面。
标题 font-audiowide uppercase tracking-tight
标题级别 1
text-4xl md:text-6xl font-audiowide uppercase
标题级别 2
text-3xl md:text-4xl font-audiowide uppercase
标题级别 3
text-xl font-audiowide uppercase
正文 Default sans-serif (Inter), text-gray-400 for secondary
正文使用不同字号的 Inter。默认颜色为白色用于主要内容,gray-400 用于次要描述与辅助文字。
text-lg text-gray-400 leading-relaxed
标签与说明 text-xs uppercase tracking-wider text-gray-500
区块标签
按钮
按钮组合三样东西:变体(颜色)、尺寸与可选效果。
变体
尺寸
效果
.btn-glow is the standard CTA halo. .btn-glow-intense doubles it for the single most important CTA on a page. .btn-shimmer adds a one-shot light sweep on hover. .btn-press adds a micro scale-down on click for tactile feedback.
用法
<!-- Variant + size + effect compose freely -->
<button class="btn-primary btn-lg btn-glow">Get Started</button>
<button class="btn-secondary btn-md">Learn more</button>
<button class="btn-ghost btn-sm btn-press">Cancel</button>
/* CSS — src/styles/globals.css */
.btn-glow:hover { box-shadow: 0 0 12px rgba(240,230,200,0.15), 0 0 24px rgba(240,230,200,0.05); }
.btn-press:active { transform: scale(0.96); }表面
玻璃、卡片、徽章与标签页。香槟色调的玻璃是 VGS 的标志性表面。
玻璃
.glass
Standard glass surface. Champagne-tinted backdrop blur, 16px radius. Best for full-width sections and hero overlays.
.glass-card
Slightly stronger explicit variant with a 12px blur. Drop-in replacement when .glass feels too soft.
卡片
.card
Base translucent card. Padding 6, radius sm.
.card-elevated
Adds a subtle shadow. Use sparingly for elevation.
.card-interactive
Pointer cursor + hover state. Use when the entire card is clickable.
.card-compact
Tighter padding (p-4) — for dense rows and grids.
.card-minimal
Resets background, padding, and border. Used as a wrapper that should not visually exist.
徽章
动画
滚动触发的动画为可选启用。它们始终遵循“减少动态效果”设置。
滚动动画
Fade Up
data-animate (default)
Fade Left
data-animate="fade-left"
Fade Right
data-animate="fade-right"
Scale
data-animate="scale"
Staggered Delays
Add data-stagger="100" on a parent container. Child elements with data-animate will automatically receive incremental delays (in ms).
<!-- Staggered children -->
<div data-stagger="100">
<div data-animate>0ms delay</div>
<div data-animate>100ms delay</div>
<div data-animate>200ms delay</div>
</div>图标
公开页面使用 Font Awesome Etch 图标包 —— 一个约 280 个图标、风格统一的精选子集。
house
gamepad
trophy
arrow-down-to-line
angle-right
arrows-rotate
用法
<!-- HTML -->
<i class="fa-etch fa-solid fa-gamepad text-2xl text-brand-500"></i>
<i class="fa-brands fa-discord text-xl"></i>经典 FA → Etch 重命名
Several common classic-FA names do not exist in Etch and have different replacements. Check the CLAUDE.md icon list before adding a new icon.
chevron-down → angle-down
download → arrow-down-to-line
circle-check → check
shield-halved → shield
hard-drive → compact-disc
spinner → arrows-rotate fa-spin