| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166 |
- /* PhotoPlaces · Золотой час — generated from tokens.json */
- /* Не править руками: источник — docs/design/build_tokens.py */
- :root, [data-theme="light"] {
- color-scheme: light;
- --bg: #faf5ed;
- --surface: #ffffff;
- --surface-2: #f4ecdf;
- --line: #eadfcf;
- --line-strong: #9c8565;
- --ink: #2a1f14;
- --ink-muted: #6f5b45;
- --amber: #f2a516;
- --on-amber: #2a1f14;
- --amber-ink: #8f5400;
- --amber-soft: #fdefd2;
- --focus: #b06a00;
- --studio: #8a3f7b;
- --on-studio: #ffffff;
- --photographer: #2f7d6d;
- --on-photographer: #ffffff;
- --me: #2f6fdb;
- --visitor: #2ea84f;
- --danger: #b3261e;
- --success: #1f6e46;
- --ad: #7a5200;
- --map-land: #f3ece0;
- --map-block: #ebe1d2;
- --map-water: #bfd3d9;
- --map-park: #e0e6c6;
- --map-road: #fffdf8;
- --map-road-major: #fff8ea;
- --map-casing: #e2d5c1;
- --map-label: #6f5b45;
- --shadow-sm: 0 1px 2px rgba(90,60,20,0.08), 0 2px 8px rgba(90,60,20,0.06);
- --shadow-md: 0 2px 6px rgba(90,60,20,0.08), 0 10px 28px rgba(90,60,20,0.10);
- --shadow-marker: 0 2px 6px rgba(42,31,20,0.30);
- }
- @media (prefers-color-scheme: dark) {
- :root:not([data-theme="light"]) {
- color-scheme: dark;
- --bg: #17120d;
- --surface: #211a13;
- --surface-2: #2a2219;
- --line: #3a2f23;
- --line-strong: #7a6650;
- --ink: #f5ebdd;
- --ink-muted: #b8a58d;
- --amber: #f5b13d;
- --on-amber: #1a130c;
- --amber-ink: #f5b13d;
- --amber-soft: #3a2a12;
- --focus: #f5b13d;
- --studio: #d78bc6;
- --on-studio: #1a130c;
- --photographer: #5cc2ac;
- --on-photographer: #0f1a17;
- --me: #6ea2ff;
- --visitor: #5bd47a;
- --danger: #ff7a70;
- --success: #6fd69a;
- --ad: #f0c060;
- --map-land: #1c1610;
- --map-block: #241d15;
- --map-water: #1b2a2e;
- --map-park: #222616;
- --map-road: #2d251b;
- --map-road-major: #3a3022;
- --map-casing: #120e0a;
- --map-label: #a8957c;
- --shadow-sm: 0 1px 2px rgba(0,0,0,0.4), 0 2px 8px rgba(0,0,0,0.3);
- --shadow-md: 0 2px 6px rgba(0,0,0,0.4), 0 10px 28px rgba(0,0,0,0.35);
- --shadow-marker: 0 2px 6px rgba(0,0,0,0.55);
- }
- }
- [data-theme="dark"] {
- color-scheme: dark;
- --bg: #17120d;
- --surface: #211a13;
- --surface-2: #2a2219;
- --line: #3a2f23;
- --line-strong: #7a6650;
- --ink: #f5ebdd;
- --ink-muted: #b8a58d;
- --amber: #f5b13d;
- --on-amber: #1a130c;
- --amber-ink: #f5b13d;
- --amber-soft: #3a2a12;
- --focus: #f5b13d;
- --studio: #d78bc6;
- --on-studio: #1a130c;
- --photographer: #5cc2ac;
- --on-photographer: #0f1a17;
- --me: #6ea2ff;
- --visitor: #5bd47a;
- --danger: #ff7a70;
- --success: #6fd69a;
- --ad: #f0c060;
- --map-land: #1c1610;
- --map-block: #241d15;
- --map-water: #1b2a2e;
- --map-park: #222616;
- --map-road: #2d251b;
- --map-road-major: #3a3022;
- --map-casing: #120e0a;
- --map-label: #a8957c;
- --shadow-sm: 0 1px 2px rgba(0,0,0,0.4), 0 2px 8px rgba(0,0,0,0.3);
- --shadow-md: 0 2px 6px rgba(0,0,0,0.4), 0 10px 28px rgba(0,0,0,0.35);
- --shadow-marker: 0 2px 6px rgba(0,0,0,0.55);
- }
- :root {
- --space-1: 4px;
- --space-2: 8px;
- --space-3: 12px;
- --space-4: 16px;
- --space-5: 20px;
- --space-6: 24px;
- --space-8: 32px;
- --space-10: 40px;
- --space-12: 48px;
- --space-16: 64px;
- --radius-xs: 6px;
- --radius-sm: 10px;
- --radius-md: 16px;
- --radius-lg: 24px;
- --radius-pill: 999px;
- --size-control-sm: 32px;
- --size-control: 44px;
- --size-control-lg: 52px;
- --size-marker: 32px;
- --size-marker-active: 40px;
- --size-cluster: 40px;
- --size-content: 1200px;
- --size-sheet: 420px;
- --z-map: 0;
- --z-map-ui: 10;
- --z-sheet: 20;
- --z-overlay: 40;
- --z-modal: 50;
- --z-toast: 60;
- --font-sans: Manrope, "Segoe UI", system-ui, sans-serif;
- --font-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
- }
- .display { font-family: var(--font-sans); font-size: 48px; line-height: 52px; font-weight: 800; letter-spacing: -0.025em; }
- .title-lg { font-family: var(--font-sans); font-size: 32px; line-height: 38px; font-weight: 800; letter-spacing: -0.02em; }
- .title { font-family: var(--font-sans); font-size: 22px; line-height: 28px; font-weight: 800; letter-spacing: -0.015em; }
- .title-sm { font-family: var(--font-sans); font-size: 17px; line-height: 22px; font-weight: 700; letter-spacing: -0.01em; }
- .body-lg { font-family: var(--font-sans); font-size: 17px; line-height: 26px; font-weight: 400; }
- .body { font-family: var(--font-sans); font-size: 15px; line-height: 22px; font-weight: 400; }
- .body-strong { font-family: var(--font-sans); font-size: 15px; line-height: 22px; font-weight: 600; }
- .caption { font-family: var(--font-sans); font-size: 13px; line-height: 18px; font-weight: 500; }
- .label { font-family: var(--font-sans); font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
- .data { font-family: var(--font-mono); font-size: 13px; line-height: 18px; font-weight: 500; }
|