Design System.
Źródło prawdy dla wytycznych marki VGS, biblioteki komponentów i wzorców projektowych używanych na wszystkich stronach publicznych.
Paleta Kolorów
Kolory marki i interfejsu, zdefiniowane w konfiguracji Tailwind. Używaj tych klas spójnie na wszystkich stronach.
Marka
brand-500
#F0E6C8
brand-400
#F4ECCE
brand-300
#FAF6E7
brand-600
#B5A87F
brand-700
#B45309
brand-800
#92400E
Skala Szarości
gray-900
#18181b
gray-800
#27272a
gray-700
#3f3f46
gray-600
#52525b
gray-500
#71717a
gray-400
#a1a1aa
Kolory Statusu
emerald-400
Success
rose-500
Danger
sky-400
Info
amber-500
Warning
Typografia
System tworzą dwie rodziny czcionek. Audiowide do nagłówków i tekstu wyróżnionego, Inter (bezszeryfowa) do tekstu i interfejsu.
Nagłówki font-audiowide uppercase tracking-tight
Nagłówek Poziom 1
text-4xl md:text-6xl font-audiowide uppercase
Nagłówek Poziom 2
text-3xl md:text-4xl font-audiowide uppercase
Nagłówek Poziom 3
text-xl font-audiowide uppercase
Tekst Główny Default sans-serif (Inter), text-gray-400 for secondary
Tekst główny używa Inter w różnych rozmiarach. Domyślny kolor to biały dla treści głównej i gray-400 dla opisów drugorzędnych i tekstu pomocniczego.
text-lg text-gray-400 leading-relaxed
Etykiety i Podpisy text-xs uppercase tracking-wider text-gray-500
Etykieta Sekcji
Przyciski
Przyciski łączą trzy rzeczy: wariant (kolor), rozmiar i opcjonalny efekt.
Warianty
Rozmiary
Efekty
.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.
Użycie
<!-- 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); }Powierzchnie
Szkło, karty, plakietki i zakładki. Szkło o odcieniu szampana to charakterystyczna powierzchnia VGS.
Szkło
.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.
Karty
.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.
Plakietki
Animacje
Animacje wyzwalane przewijaniem są opcjonalne. Zawsze respektują preferencję ograniczonego ruchu.
Animacje Przewijania
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>Ikony
Strony publiczne używają pakietu ikon Font Awesome Etch — wyselekcjonowanego podzbioru około 280 ikon o spójnej estetyce.
house
gamepad
trophy
arrow-down-to-line
angle-right
arrows-rotate
Użycie
<!-- HTML -->
<i class="fa-etch fa-solid fa-gamepad text-2xl text-brand-500"></i>
<i class="fa-brands fa-discord text-xl"></i>Zmiany Nazw Klasyczne 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