69 lines
2.6 KiB
CSS
69 lines
2.6 KiB
CSS
/*
|
|
============================================================================
|
|
DESIGN TOKENS — the only file you need to touch to restyle the whole UI.
|
|
Every color, font size, spacing step, radius and shadow used elsewhere
|
|
references a variable defined here. Change a value and it applies everywhere.
|
|
============================================================================
|
|
*/
|
|
|
|
:root {
|
|
/* ---- palette (retheme here) ----------------------------------------- */
|
|
--color-bg: #0a0a0a; /* page background */
|
|
--color-surface: #141414; /* cards, panels */
|
|
--color-surface-hover: #1d1d1d; /* hover state for surfaces */
|
|
--color-surface-2: #1a1a1a; /* inputs, alt surfaces */
|
|
--color-border: #262626; /* default borders */
|
|
--color-border-strong: #3a3a3a; /* visible borders / hover borders */
|
|
--color-text: #f2f2f2; /* primary text */
|
|
--color-text-dim: #9a9a9a; /* secondary text */
|
|
--color-text-faint: #5c5c5c; /* tertiary text */
|
|
--color-accent: #00e08b; /* brand / primary action color */
|
|
--color-accent-hover: #33ecab;
|
|
--color-accent-text: #04110a; /* text on accent buttons */
|
|
--color-danger: #ff6b6b;
|
|
--color-success: #00e08b;
|
|
--color-star: #ffc94d; /* rating stars */
|
|
|
|
/* ---- typography ------------------------------------------------------ */
|
|
--font-sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
|
|
--text-xs: 0.75rem;
|
|
--text-sm: 0.875rem;
|
|
--text-md: 1rem;
|
|
--text-lg: 1.125rem;
|
|
--text-xl: 1.375rem;
|
|
--text-2xl: 1.75rem;
|
|
--text-3xl: 2.25rem;
|
|
--leading-tight: 1.2;
|
|
--leading-normal: 1.55;
|
|
--font-weight-normal: 400;
|
|
--font-weight-medium: 500;
|
|
--font-weight-semibold: 600;
|
|
--font-weight-bold: 700;
|
|
|
|
/* ---- spacing (4px scale) ---------------------------------------------- */
|
|
--space-1: 4px;
|
|
--space-2: 8px;
|
|
--space-3: 12px;
|
|
--space-4: 16px;
|
|
--space-5: 24px;
|
|
--space-6: 32px;
|
|
--space-7: 48px;
|
|
--space-8: 64px;
|
|
|
|
/* ---- shape ------------------------------------------------------------- */
|
|
--radius-sm: 8px;
|
|
--radius-md: 12px;
|
|
--radius-lg: 16px;
|
|
--radius-full: 999px;
|
|
--shadow-1: 0 2px 8px rgba(0, 0, 0, 0.45);
|
|
--shadow-2: 0 12px 40px rgba(0, 0, 0, 0.6);
|
|
|
|
/* ---- layout ------------------------------------------------------------ */
|
|
--container-max: 1280px;
|
|
--container-pad: var(--space-5);
|
|
--header-height: 64px;
|
|
--poster-aspect: 2 / 3; /* 2:3 poster cards */
|
|
--card-width: 160px; /* poster card width in carousels */
|
|
--player-aspect: 16 / 9;
|
|
}
|