tokens.css 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  1. /* PhotoPlaces · Золотой час — generated from tokens.json */
  2. /* Не править руками: источник — docs/design/build_tokens.py */
  3. :root, [data-theme="light"] {
  4. color-scheme: light;
  5. --bg: #faf5ed;
  6. --surface: #ffffff;
  7. --surface-2: #f4ecdf;
  8. --line: #eadfcf;
  9. --line-strong: #9c8565;
  10. --ink: #2a1f14;
  11. --ink-muted: #6f5b45;
  12. --amber: #f2a516;
  13. --on-amber: #2a1f14;
  14. --amber-ink: #8f5400;
  15. --amber-soft: #fdefd2;
  16. --focus: #b06a00;
  17. --studio: #8a3f7b;
  18. --on-studio: #ffffff;
  19. --photographer: #2f7d6d;
  20. --on-photographer: #ffffff;
  21. --me: #2f6fdb;
  22. --visitor: #2ea84f;
  23. --danger: #b3261e;
  24. --success: #1f6e46;
  25. --ad: #7a5200;
  26. --map-land: #f3ece0;
  27. --map-block: #ebe1d2;
  28. --map-water: #bfd3d9;
  29. --map-park: #e0e6c6;
  30. --map-road: #fffdf8;
  31. --map-road-major: #fff8ea;
  32. --map-casing: #e2d5c1;
  33. --map-label: #6f5b45;
  34. --shadow-sm: 0 1px 2px rgba(90,60,20,0.08), 0 2px 8px rgba(90,60,20,0.06);
  35. --shadow-md: 0 2px 6px rgba(90,60,20,0.08), 0 10px 28px rgba(90,60,20,0.10);
  36. --shadow-marker: 0 2px 6px rgba(42,31,20,0.30);
  37. }
  38. @media (prefers-color-scheme: dark) {
  39. :root:not([data-theme="light"]) {
  40. color-scheme: dark;
  41. --bg: #17120d;
  42. --surface: #211a13;
  43. --surface-2: #2a2219;
  44. --line: #3a2f23;
  45. --line-strong: #7a6650;
  46. --ink: #f5ebdd;
  47. --ink-muted: #b8a58d;
  48. --amber: #f5b13d;
  49. --on-amber: #1a130c;
  50. --amber-ink: #f5b13d;
  51. --amber-soft: #3a2a12;
  52. --focus: #f5b13d;
  53. --studio: #d78bc6;
  54. --on-studio: #1a130c;
  55. --photographer: #5cc2ac;
  56. --on-photographer: #0f1a17;
  57. --me: #6ea2ff;
  58. --visitor: #5bd47a;
  59. --danger: #ff7a70;
  60. --success: #6fd69a;
  61. --ad: #f0c060;
  62. --map-land: #1c1610;
  63. --map-block: #241d15;
  64. --map-water: #1b2a2e;
  65. --map-park: #222616;
  66. --map-road: #2d251b;
  67. --map-road-major: #3a3022;
  68. --map-casing: #120e0a;
  69. --map-label: #a8957c;
  70. --shadow-sm: 0 1px 2px rgba(0,0,0,0.4), 0 2px 8px rgba(0,0,0,0.3);
  71. --shadow-md: 0 2px 6px rgba(0,0,0,0.4), 0 10px 28px rgba(0,0,0,0.35);
  72. --shadow-marker: 0 2px 6px rgba(0,0,0,0.55);
  73. }
  74. }
  75. [data-theme="dark"] {
  76. color-scheme: dark;
  77. --bg: #17120d;
  78. --surface: #211a13;
  79. --surface-2: #2a2219;
  80. --line: #3a2f23;
  81. --line-strong: #7a6650;
  82. --ink: #f5ebdd;
  83. --ink-muted: #b8a58d;
  84. --amber: #f5b13d;
  85. --on-amber: #1a130c;
  86. --amber-ink: #f5b13d;
  87. --amber-soft: #3a2a12;
  88. --focus: #f5b13d;
  89. --studio: #d78bc6;
  90. --on-studio: #1a130c;
  91. --photographer: #5cc2ac;
  92. --on-photographer: #0f1a17;
  93. --me: #6ea2ff;
  94. --visitor: #5bd47a;
  95. --danger: #ff7a70;
  96. --success: #6fd69a;
  97. --ad: #f0c060;
  98. --map-land: #1c1610;
  99. --map-block: #241d15;
  100. --map-water: #1b2a2e;
  101. --map-park: #222616;
  102. --map-road: #2d251b;
  103. --map-road-major: #3a3022;
  104. --map-casing: #120e0a;
  105. --map-label: #a8957c;
  106. --shadow-sm: 0 1px 2px rgba(0,0,0,0.4), 0 2px 8px rgba(0,0,0,0.3);
  107. --shadow-md: 0 2px 6px rgba(0,0,0,0.4), 0 10px 28px rgba(0,0,0,0.35);
  108. --shadow-marker: 0 2px 6px rgba(0,0,0,0.55);
  109. }
  110. :root {
  111. --space-1: 4px;
  112. --space-2: 8px;
  113. --space-3: 12px;
  114. --space-4: 16px;
  115. --space-5: 20px;
  116. --space-6: 24px;
  117. --space-8: 32px;
  118. --space-10: 40px;
  119. --space-12: 48px;
  120. --space-16: 64px;
  121. --radius-xs: 6px;
  122. --radius-sm: 10px;
  123. --radius-md: 16px;
  124. --radius-lg: 24px;
  125. --radius-pill: 999px;
  126. --size-control-sm: 32px;
  127. --size-control: 44px;
  128. --size-control-lg: 52px;
  129. --size-marker: 32px;
  130. --size-marker-active: 40px;
  131. --size-cluster: 40px;
  132. --size-content: 1200px;
  133. --size-sheet: 420px;
  134. --z-map: 0;
  135. --z-map-ui: 10;
  136. --z-sheet: 20;
  137. --z-overlay: 40;
  138. --z-modal: 50;
  139. --z-toast: 60;
  140. --font-sans: Manrope, "Segoe UI", system-ui, sans-serif;
  141. --font-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  142. }
  143. .display { font-family: var(--font-sans); font-size: 48px; line-height: 52px; font-weight: 800; letter-spacing: -0.025em; }
  144. .title-lg { font-family: var(--font-sans); font-size: 32px; line-height: 38px; font-weight: 800; letter-spacing: -0.02em; }
  145. .title { font-family: var(--font-sans); font-size: 22px; line-height: 28px; font-weight: 800; letter-spacing: -0.015em; }
  146. .title-sm { font-family: var(--font-sans); font-size: 17px; line-height: 22px; font-weight: 700; letter-spacing: -0.01em; }
  147. .body-lg { font-family: var(--font-sans); font-size: 17px; line-height: 26px; font-weight: 400; }
  148. .body { font-family: var(--font-sans); font-size: 15px; line-height: 22px; font-weight: 400; }
  149. .body-strong { font-family: var(--font-sans); font-size: 15px; line-height: 22px; font-weight: 600; }
  150. .caption { font-family: var(--font-sans); font-size: 13px; line-height: 18px; font-weight: 500; }
  151. .label { font-family: var(--font-sans); font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
  152. .data { font-family: var(--font-mono); font-size: 13px; line-height: 18px; font-weight: 500; }