Skip to content
VICTOR GAME STUDIO

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.

徽章

.badge-success.badge-warning.badge-danger.badge-info.badge-brand.badge-secondary
.badge-sm(default).badge-lg

動畫

捲動觸發的動畫為可選啟用。它們始終遵循「減少動態效果」設定。

捲動動畫

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