sokko-g/website/src/styles/_tokens.scss
Shinuwa 5a794e5220
Some checks failed
Validate and deploy Sokko G / validate (push) Failing after 20m39s
Validate and deploy Sokko G / deploy (push) Has been skipped
Make the mythic rarity prismatic, centralize rarity colors and show rarity symbols in the history
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 15:52:20 +01:00

110 lines
3.6 KiB
SCSS

// Rôle : expose les tokens CSS du thème Sokko G.
:root {
color-scheme: dark;
--color-bg-page: #070913;
--color-bg-deep: #050711;
--color-bg-sidebar: #0b0e1b;
--color-bg-surface: #101426;
--color-bg-surface-alt: #151a30;
--color-bg-elevated: #1a2038;
--color-bg-hover: #202745;
--color-primary: #8b5cf6;
--color-primary-hover: #9f7aea;
--color-primary-active: #7347dc;
--color-primary-soft: rgba(139, 92, 246, 0.14);
--color-primary-border: rgba(139, 92, 246, 0.45);
--color-secondary: #3b82f6;
--color-secondary-soft: rgba(59, 130, 246, 0.14);
--color-accent-cyan: #22d3ee;
--color-accent-gold: #f6c453;
--color-accent-pink: #d946ef;
--color-accent-indigo: #6366f1;
--color-text-primary: #f5f7ff;
--color-text-secondary: #b4bdd3;
--color-text-muted: #7d879f;
--color-text-disabled: #555e73;
--color-text-inverse: #080a13;
--color-border: rgba(150, 165, 205, 0.14);
--color-border-hover: rgba(150, 165, 205, 0.28);
--color-border-strong: rgba(167, 139, 250, 0.42);
--color-success: #34d399;
--color-success-soft: rgba(52, 211, 153, 0.13);
--color-warning: #fbbf24;
--color-warning-soft: rgba(251, 191, 36, 0.13);
--color-danger: #fb7185;
--color-danger-soft: rgba(251, 113, 133, 0.13);
--color-info: #38bdf8;
--color-info-soft: rgba(56, 189, 248, 0.13);
--color-rarity-common: #9ca3af;
--color-rarity-rare: #3b82f6;
--color-rarity-epic: #d946ef;
--color-rarity-legendary: #f6c453;
// Mythique : le prisme ; le blanc perle le remplace là où un dégradé est impossible.
--color-rarity-mythic: #f4f1ff;
--color-prism-gold: #ffd15c;
--color-prism-pink: #ff6ec7;
--color-prism-violet: #a98bff;
--color-prism-blue: #5fd8ff;
--color-prism-mint: #8cf2a8;
--rarity-prism: var(--color-prism-gold), var(--color-prism-pink), var(--color-prism-violet), var(--color-prism-blue), var(--color-prism-mint), var(--color-prism-gold);
--gradient-rarity-mythic: conic-gradient(from 20deg, var(--rarity-prism));
--gradient-rarity-mythic-line: linear-gradient(90deg, var(--rarity-prism));
--gradient-rarity-mythic-edge: linear-gradient(180deg, var(--rarity-prism));
--gradient-brand: linear-gradient(135deg, #8b5cf6 0%, #6366f1 45%, #3b82f6 100%);
--gradient-nebula: linear-gradient(
135deg,
rgba(139, 92, 246, 0.28),
rgba(59, 130, 246, 0.18),
rgba(217, 70, 239, 0.12)
);
--gradient-page:
radial-gradient(ellipse at 16% 8%, rgba(139, 92, 246, 0.28), transparent 38%),
radial-gradient(ellipse at 86% 18%, rgba(99, 102, 241, 0.2), transparent 34%),
radial-gradient(ellipse at 58% 82%, rgba(217, 70, 239, 0.14), transparent 42%),
radial-gradient(ellipse at 28% 68%, rgba(246, 196, 83, 0.08), transparent 36%),
linear-gradient(145deg, rgba(8, 10, 24, 0.2), rgba(16, 11, 34, 0.38) 48%, rgba(5, 7, 17, 0.24)),
#070913;
--font-size-xs: 0.75rem;
--font-size-sm: 0.875rem;
--font-size-base: 1rem;
--font-size-lg: 1.125rem;
--font-size-xl: 1.25rem;
--font-size-2xl: 1.5rem;
--font-size-3xl: 2rem;
--font-size-4xl: 2.5rem;
--space-1: 0.25rem;
--space-2: 0.5rem;
--space-3: 0.75rem;
--space-4: 1rem;
--space-5: 1.25rem;
--space-6: 1.5rem;
--space-8: 2rem;
--space-10: 2.5rem;
--space-12: 3rem;
--radius-sm: 6px;
--radius-md: 10px;
--radius-lg: 14px;
--radius-xl: 18px;
--radius-pill: 999px;
--shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.22);
--shadow-md: 0 12px 30px rgba(0, 0, 0, 0.3);
--shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.42);
--shadow-primary: 0 0 28px rgba(139, 92, 246, 0.22);
--shadow-secondary: 0 0 28px rgba(59, 130, 246, 0.18);
--duration-fast: 120ms;
--duration-normal: 180ms;
--ease-standard: cubic-bezier(0.2, 0.8, 0.2, 1);
}