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: #0b0d10; /* page background */
|
|
--color-surface: #14171c; /* cards, panels */
|
|
--color-surface-hover: #1c2129; /* hover state for surfaces */
|
|
--color-surface-2: #191d24; /* inputs, alt surfaces */
|
|
--color-border: #262c35; /* default borders */
|
|
--color-border-strong: #39424f; /* visible borders / hover borders */
|
|
--color-text: #eceff3; /* primary text */
|
|
--color-text-dim: #98a2b0; /* secondary text */
|
|
--color-text-faint: #5f6b7a; /* tertiary text */
|
|
--color-accent: #4f8cff; /* brand / primary action color */
|
|
--color-accent-hover: #6ea1ff;
|
|
--color-accent-text: #ffffff; /* text on accent buttons */
|
|
--color-danger: #ff6b6b;
|
|
--color-success: #46c98f;
|
|
--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: 6px;
|
|
--radius-md: 10px;
|
|
--radius-lg: 14px;
|
|
--radius-full: 999px;
|
|
--shadow-1: 0 2px 8px rgba(0, 0, 0, 0.35);
|
|
--shadow-2: 0 12px 40px rgba(0, 0, 0, 0.5);
|
|
|
|
/* ---- 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;
|
|
}
|