@sanity/runtime-cli 4.3.3 → 4.3.5-bundle.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. package/README.md +17 -17
  2. package/dist/actions/blueprints/assets.d.ts +1 -0
  3. package/dist/actions/blueprints/assets.js +21 -4
  4. package/dist/actions/functions/test.d.ts +2 -2
  5. package/dist/actions/functions/test.js +2 -2
  6. package/dist/commands/blueprints/config.d.ts +1 -1
  7. package/dist/commands/blueprints/config.js +8 -8
  8. package/dist/commands/blueprints/deploy.js +3 -4
  9. package/dist/commands/blueprints/init.d.ts +1 -1
  10. package/dist/commands/blueprints/init.js +8 -8
  11. package/dist/commands/functions/logs.d.ts +1 -1
  12. package/dist/commands/functions/logs.js +8 -8
  13. package/dist/commands/functions/test.js +3 -6
  14. package/dist/server/app.js +80 -12
  15. package/dist/server/static/api.js +24 -3
  16. package/dist/server/static/components/app.css +915 -54
  17. package/dist/server/static/components/dataset-dropdown.js +5 -3
  18. package/dist/server/static/components/filters.d.ts +1 -0
  19. package/dist/server/static/components/filters.js +20 -0
  20. package/dist/server/static/components/function-list.js +7 -7
  21. package/dist/server/static/components/payload-panel.js +18 -17
  22. package/dist/server/static/components/projects-dropdown.js +5 -3
  23. package/dist/server/static/components/response-panel.js +38 -28
  24. package/dist/server/static/index.html +11 -30
  25. package/dist/server/static/vendor/vendor.bundle.d.ts +2 -2
  26. package/dist/utils/build-payload.d.ts +1 -1
  27. package/dist/utils/build-payload.js +3 -3
  28. package/dist/utils/bundle/bundle-function.d.ts +8 -0
  29. package/dist/utils/bundle/bundle-function.js +125 -0
  30. package/dist/utils/bundle/cleanup-source-maps.d.ts +10 -0
  31. package/dist/utils/bundle/cleanup-source-maps.js +53 -0
  32. package/dist/utils/bundle/find-up.d.ts +16 -0
  33. package/dist/utils/bundle/find-up.js +39 -0
  34. package/dist/utils/bundle/verify-handler.d.ts +2 -0
  35. package/dist/utils/bundle/verify-handler.js +13 -0
  36. package/dist/utils/child-process-wrapper.js +8 -6
  37. package/dist/utils/functions/find-entry-point.d.ts +11 -0
  38. package/dist/utils/functions/find-entry-point.js +75 -0
  39. package/dist/utils/functions/should-bundle.d.ts +2 -0
  40. package/dist/utils/functions/should-bundle.js +23 -0
  41. package/dist/utils/invoke-local.d.ts +2 -2
  42. package/dist/utils/invoke-local.js +48 -7
  43. package/dist/utils/is-record.d.ts +1 -0
  44. package/dist/utils/is-record.js +3 -0
  45. package/dist/utils/parse-json-object.d.ts +1 -0
  46. package/dist/utils/parse-json-object.js +10 -0
  47. package/dist/utils/types.d.ts +3 -1
  48. package/oclif.manifest.json +1 -1
  49. package/package.json +4 -1
  50. package/dist/utils/is-json.d.ts +0 -1
  51. package/dist/utils/is-json.js +0 -12
@@ -1,58 +1,779 @@
1
+ /* ==========================================================================
2
+ SANITY UI - CSS DESIGN VARIABLES
3
+ ==========================================================================
4
+
5
+ This file provides the core Sanity UI design language as CSS Custom Properties
6
+ (Variables) for direct consumption in CSS stylesheets or inline styles.
7
+
8
+ - Supports light and dark color schemes via `prefers-color-scheme`.
9
+ - Uses numerical scales for spacing, radius, font sizes, line heights,
10
+ and shadows where applicable for ergonomic adjustment.
11
+ - Provides semantic color variables for common UI roles (text, surface,
12
+ border, interactive states, etc.) mapped to the underlying palette.
13
+ - Includes typography, transitions, and layout constants.
14
+
15
+ --------------------------------------------------------------------------
16
+ Table of Contents
17
+ --------------------------------------------------------------------------
18
+ 1. SETUP & BASE
19
+ 2. RAW COLOR PALETTE
20
+ 3. SEMANTIC COLORS (LIGHT & DARK MODE)
21
+ - Brand / Primary
22
+ - Feedback (Positive, Caution, Critical)
23
+ - Neutral / Base UI
24
+ - Focus Ring
25
+ - Shadows (Colors Only)
26
+ 4. TYPOGRAPHY
27
+ - Font Families
28
+ - Font Weights
29
+ - Font Sizes (Numerical Scale)
30
+ - Line Heights (Numerical Scale)
31
+ - Letter Spacing (Numerical Scale)
32
+ 5. SPACING & SIZING
33
+ - Spacing (Numerical Scale)
34
+ - Border Radius (Numerical Scale)
35
+ - Container Widths (Numerical Scale)
36
+ 6. SHADOWS (COMPUTED)
37
+ - Shadow Components (Numerical Offsets/Blur/Spread)
38
+ - Box Shadows (Numerical Scale)
39
+ 7. TRANSITIONS
40
+ 8. LAYOUT & Z-INDEX
41
+ -------------------------------------------------------------------------- */
42
+
43
+ /* ==========================================================================
44
+ 1. SETUP & BASE
45
+ ========================================================================== */
46
+
47
+ :root {
48
+ /* Enables system-level light/dark mode detection */
49
+ color-scheme: light dark;
50
+
51
+ /* Default to light mode colors (overridden later in dark mode) */
52
+ --base-color: var(--black);
53
+ --base-background-color: var(--white);
54
+
55
+ /* Default text rendering settings */
56
+ color: var(--base-color);
57
+ background-color: var(--base-background-color);
58
+ font-synthesis: none;
59
+ text-rendering: optimizeLegibility;
60
+ -webkit-font-smoothing: antialiased;
61
+ -moz-osx-font-smoothing: grayscale;
62
+ font-family: var(--font-family-sans);
63
+
64
+ /* Gutter Gradient Variables */
65
+ }
66
+
67
+ /* ==========================================================================
68
+ 2. RAW COLOR PALETTE
69
+ ==========================================================================
70
+
71
+ The base HSL palette values.
72
+ Naming: --<hue>-<value>
73
+ */
74
+ :root {
75
+ --black: hsl(0, 0%, 0%);
76
+ --white: hsl(0, 0%, 100%);
77
+
78
+ --gray-50: hsl(240deg, 12%, 97%);
79
+ --gray-100: hsl(240deg, 10%, 94%);
80
+ --gray-200: hsl(231deg, 10%, 90%);
81
+ --gray-300: hsl(232deg, 11%, 76%);
82
+ --gray-400: hsl(228deg, 13%, 63%);
83
+ --gray-500: hsl(229deg, 13%, 51%);
84
+ --gray-600: hsl(228deg, 16%, 38%);
85
+ --gray-700: hsl(229deg, 18%, 27%);
86
+ --gray-800: hsl(229deg, 19%, 18%);
87
+ --gray-900: hsl(228deg, 19%, 13%);
88
+ --gray-950: hsl(233deg, 17%, 9%);
89
+
90
+ --blue-50: hsl(222deg, 100%, 98%);
91
+ --blue-100: hsl(222deg, 100%, 95%);
92
+ --blue-200: hsl(223deg, 100%, 93%);
93
+ --blue-300: hsl(224deg, 100%, 83%);
94
+ --blue-400: hsl(226deg, 100%, 73%);
95
+ --blue-500: hsl(232deg, 96%, 66%);
96
+ --blue-600: hsl(239deg, 78%, 58%);
97
+ --blue-700: hsl(241deg, 63%, 41%);
98
+ --blue-800: hsl(230deg, 55%, 22%);
99
+ --blue-900: hsl(234deg, 49%, 17%);
100
+ --blue-950: hsl(235deg, 43%, 11%);
101
+
102
+ --purple-50: hsl(260deg, 95%, 98%);
103
+ --purple-100: hsl(260deg, 98%, 96%);
104
+ --purple-200: hsl(263deg, 96%, 94%);
105
+ --purple-300: hsl(262deg, 92%, 84%);
106
+ --purple-400: hsl(262deg, 88%, 75%);
107
+ --purple-500: hsl(262deg, 83%, 64%);
108
+ --purple-600: hsl(265deg, 79%, 51%);
109
+ --purple-700: hsl(263deg, 72%, 36%);
110
+ --purple-800: hsl(258deg, 60%, 24%);
111
+ --purple-900: hsl(257deg, 46%, 17%);
112
+ --purple-950: hsl(260deg, 41%, 11%);
113
+
114
+ --magenta-50: hsl(340deg, 82%, 98%);
115
+ --magenta-100: hsl(339deg, 83%, 95%);
116
+ --magenta-200: hsl(339deg, 83%, 93%);
117
+ --magenta-300: hsl(340deg, 82%, 82%);
118
+ --magenta-400: hsl(340deg, 81%, 69%);
119
+ --magenta-500: hsl(340deg, 80%, 53%);
120
+ --magenta-600: hsl(337deg, 78%, 39%);
121
+ --magenta-700: hsl(333deg, 73%, 28%);
122
+ --magenta-800: hsl(328deg, 63%, 18%);
123
+ --magenta-900: hsl(327deg, 46%, 14%);
124
+ --magenta-950: hsl(341deg, 35%, 9%);
125
+
126
+ --red-50: hsl(5deg, 100%, 98%);
127
+ --red-100: hsl(4deg, 100%, 95%);
128
+ --red-200: hsl(4deg, 98%, 93%);
129
+ --red-300: hsl(5deg, 95%, 82%);
130
+ --red-400: hsl(6deg, 90%, 69%);
131
+ --red-500: hsl(5deg, 85%, 57%);
132
+ --red-600: hsl(5deg, 78%, 45%);
133
+ --red-700: hsl(4deg, 70%, 32%);
134
+ --red-800: hsl(3deg, 58%, 19%);
135
+ --red-900: hsl(2deg, 41%, 14%);
136
+ --red-950: hsl(356deg, 30%, 9%);
137
+
138
+ --orange-50: hsl(28deg, 100%, 97%);
139
+ --orange-100: hsl(25deg, 100%, 93%);
140
+ --orange-200: hsl(24deg, 100%, 89%);
141
+ --orange-300: hsl(24deg, 100%, 76%);
142
+ --orange-400: hsl(24deg, 100%, 63%);
143
+ --orange-500: hsl(24deg, 100%, 49%);
144
+ --orange-600: hsl(24deg, 98%, 35%);
145
+ --orange-700: hsl(24deg, 94%, 25%);
146
+ --orange-800: hsl(22deg, 82%, 15%);
147
+ --orange-900: hsl(17deg, 65%, 12%);
148
+ --orange-950: hsl(14deg, 43%, 9%);
149
+
150
+ --yellow-50: hsl(51deg, 94%, 94%);
151
+ --yellow-100: hsl(52deg, 91%, 86%);
152
+ --yellow-200: hsl(50deg, 90%, 78%);
153
+ --yellow-300: hsl(47deg, 91%, 65%);
154
+ --yellow-400: hsl(44deg, 95%, 53%);
155
+ --yellow-500: hsl(39deg, 96%, 42%);
156
+ --yellow-600: hsl(34deg, 90%, 31%);
157
+ --yellow-700: hsl(31deg, 80%, 22%);
158
+ --yellow-800: hsl(28deg, 66%, 14%);
159
+ --yellow-900: hsl(24deg, 40%, 11%);
160
+ --yellow-950: hsl(24deg, 20%, 8%);
161
+
162
+ --green-50: hsl(157deg, 89%, 95%);
163
+ --green-100: hsl(158deg, 89%, 88%);
164
+ --green-200: hsl(158deg, 87%, 82%);
165
+ --green-300: hsl(158deg, 86%, 65%);
166
+ --green-400: hsl(159deg, 88%, 50%);
167
+ --green-500: hsl(159deg, 96%, 37%);
168
+ --green-600: hsl(159deg, 98%, 24%);
169
+ --green-700: hsl(158deg, 98%, 16%);
170
+ --green-800: hsl(158deg, 91%, 10%);
171
+ --green-900: hsl(162deg, 72%, 8%);
172
+ --green-950: hsl(172deg, 51%, 6%);
173
+
174
+ --cyan-50: hsl(180deg, 92%, 95%);
175
+ --cyan-100: hsl(180deg, 91%, 88%);
176
+ --cyan-200: hsl(180deg, 87%, 78%);
177
+ --cyan-300: hsl(180deg, 81%, 66%);
178
+ --cyan-400: hsl(180deg, 81%, 49%);
179
+ --cyan-500: hsl(182deg, 96%, 38%);
180
+ --cyan-600: hsl(185deg, 96%, 26%);
181
+ --cyan-700: hsl(185deg, 95%, 16%);
182
+ --cyan-800: hsl(187deg, 86%, 11%);
183
+ --cyan-900: hsl(188deg, 68%, 9%);
184
+ --cyan-950: hsl(196deg, 37%, 8%);
185
+ }
186
+
187
+ /* ==========================================================================
188
+ 3. SEMANTIC COLORS (LIGHT & DARK MODE)
189
+ ==========================================================================
190
+
191
+ Purpose-driven color variables mapped to the raw palette.
192
+
193
+ Naming: --color-<role>-<element?>-<state?>
194
+ Example: --color-text-default, --color-surface-primary-hover, --color-border-critical
195
+ */
196
+
197
+ :root {
198
+ /* ---------------------------------- */
199
+ /* Semantic Colors: LIGHT MODE */
200
+ /* ---------------------------------- */
201
+
202
+ /* --- Brand / Primary --- */
203
+ --color-brand-primary-fg: var(--blue-600);
204
+ --color-brand-primary-bg-strong: var(--blue-600);
205
+ --color-brand-primary-bg-med: var(--blue-100);
206
+ --color-brand-primary-bg-light: var(--blue-50);
207
+ --color-brand-primary-border: var(--blue-300);
208
+
209
+ /* --- Feedback: Positive (Green) --- */
210
+ --color-feedback-positive-fg: var(--green-700);
211
+ --color-feedback-positive-bg-strong: var(--green-500);
212
+ --color-feedback-positive-bg-med: var(--green-100);
213
+ --color-feedback-positive-bg-light: var(--green-50);
214
+ --color-feedback-positive-border: var(--green-300);
215
+
216
+ /* --- Feedback: Caution (Yellow/Orange) --- */
217
+ --color-feedback-caution-fg: var(--yellow-700);
218
+ --color-feedback-caution-bg-strong: var(--yellow-500);
219
+ --color-feedback-caution-bg-med: var(--yellow-100);
220
+ --color-feedback-caution-bg-light: var(--yellow-50);
221
+ --color-feedback-caution-border: var(--yellow-300);
222
+
223
+ /* --- Feedback: Critical (Red) --- */
224
+ --color-feedback-critical-fg: var(--red-600);
225
+ --color-feedback-critical-bg-strong: var(--red-600);
226
+ --color-feedback-critical-bg-med: var(--red-100);
227
+ --color-feedback-critical-bg-light: var(--red-50);
228
+ --color-feedback-critical-border: var(--red-300);
229
+
230
+ /* --- Neutral / Base UI --- */
231
+ /* Text */
232
+ --color-text-default: var(--gray-800);
233
+ --color-text-muted: var(--gray-600);
234
+ --color-text-on-contrast: var(--white); /* Text on dark/colored backgrounds */
235
+ --color-text-disabled: var(--gray-400);
236
+ --color-text-link: var(--blue-600);
237
+ --color-text-accent: var(--purple-600); /* Used for inline accents */
238
+
239
+ /* Surface (Backgrounds) */
240
+ --color-surface-default: var(--white); /* Base page/component background */
241
+ --color-surface-neutral: var(--gray-50); /* Slightly off-white */
242
+ --color-surface-subtle: var(--gray-100); /* Grouping subtle backgrounds */
243
+ --color-surface-strong: var(--gray-200); /* Grouping stronger backgrounds */
244
+ --color-surface-contrast: var(--gray-900); /* Dark background for contrast */
245
+ --color-surface-disabled: var(--gray-100);
246
+ --color-surface-backdrop: hsla(0, 0%, 0%, 0.5); /* Modal overlays etc */
247
+
248
+ /* Borders / Dividers */
249
+ --color-border-default: var(--gray-200);
250
+ --color-border-muted: var(--gray-100); /* Softer borders/dividers */
251
+ --color-border-strong: var(--gray-300);
252
+ --color-border-disabled: var(--gray-100);
253
+
254
+ /* Interactive States (Examples - Needs refinement based on components) */
255
+ /* These often combine surface/border/text colors based on component logic */
256
+ --color-interactive-primary-hover-bg: var(--blue-500);
257
+ --color-interactive-primary-active-bg: var(--blue-700);
258
+ --color-interactive-primary-resting-fg: var(--white);
259
+
260
+ --color-interactive-neutral-hover-bg: var(--gray-100);
261
+ --color-interactive-neutral-active-bg: var(--gray-200);
262
+
263
+ /* --- Focus Ring --- */
264
+ --color-focus-ring: var(--blue-500);
265
+
266
+ /* --- Shadows (Colors Only) --- */
267
+ /* These are combined with numerical offsets/blur later */
268
+ /* Using black with varying alpha for light mode shadows */
269
+ --color-shadow-umbra: hsla(0, 0%, 0%, 0.1);
270
+ --color-shadow-penumbra: hsla(0, 0%, 0%, 0.07);
271
+ --color-shadow-ambient: hsla(0, 0%, 0%, 0.06);
272
+ --color-shadow-outline: hsla(0, 0%, 0%, 0.15); /* Used for subtle outlines */
273
+ }
274
+
275
+ /* ---------------------------------- */
276
+ /* Semantic Colors: DARK MODE */
277
+ /* ---------------------------------- */
278
+ @media (prefers-color-scheme: dark) {
279
+ :root {
280
+ /* Override base colors */
281
+ --base-color: var(--white);
282
+ --base-background-color: var(--gray-950); /* Or a dark gray like 950 */
283
+
284
+ /* --- Brand / Primary --- */
285
+ --color-brand-primary-fg: var(--blue-400);
286
+ --color-brand-primary-bg-strong: var(--blue-500);
287
+ --color-brand-primary-bg-med: var(--blue-900);
288
+ --color-brand-primary-bg-light: var(--blue-950);
289
+ --color-brand-primary-border: var(--blue-700);
290
+
291
+ /* --- Feedback: Positive --- */
292
+ --color-feedback-positive-fg: var(--green-400);
293
+ --color-feedback-positive-bg-strong: var(--green-500);
294
+ --color-feedback-positive-bg-med: var(--green-900);
295
+ --color-feedback-positive-bg-light: var(--green-950);
296
+ --color-feedback-positive-border: var(--green-700);
297
+
298
+ /* --- Feedback: Caution --- */
299
+ --color-feedback-caution-fg: var(--yellow-400);
300
+ --color-feedback-caution-bg-strong: var(--yellow-500);
301
+ --color-feedback-caution-bg-med: var(--yellow-900);
302
+ --color-feedback-caution-bg-light: var(--yellow-950);
303
+ --color-feedback-caution-border: var(--yellow-700);
304
+
305
+ /* --- Feedback: Critical --- */
306
+ --color-feedback-critical-fg: var(--red-400);
307
+ --color-feedback-critical-bg-strong: var(--red-500);
308
+ --color-feedback-critical-bg-med: var(--red-900);
309
+ --color-feedback-critical-bg-light: var(--red-950);
310
+ --color-feedback-critical-border: var(--red-700);
311
+
312
+ /* --- Neutral / Base UI --- */
313
+ /* Text */
314
+ --color-text-default: var(--gray-100);
315
+ --color-text-muted: var(--gray-400);
316
+ --color-text-on-contrast: var(--black); /* Text on light/colored backgrounds */
317
+ --color-text-disabled: var(--gray-600);
318
+ --color-text-link: var(--blue-400);
319
+ --color-text-accent: var(--purple-400);
320
+
321
+ /* Surface (Backgrounds) */
322
+ --color-surface-default: var(--gray-950); /* Darkest background */
323
+ --color-surface-neutral: var(--gray-900); /* Slightly lighter */
324
+ --color-surface-subtle: var(--gray-800);
325
+ --color-surface-strong: var(--gray-700);
326
+ --color-surface-contrast: var(--gray-50); /* Light background for contrast */
327
+ --color-surface-disabled: var(--gray-900);
328
+ --color-surface-backdrop: hsla(0, 0%, 0%, 0.7); /* Darker backdrop */
329
+
330
+ /* Borders / Dividers */
331
+ --color-border-default: var(--gray-800);
332
+ --color-border-muted: var(--gray-900); /* Darker, less visible */
333
+ --color-border-strong: var(--gray-700);
334
+ --color-border-disabled: var(--gray-800);
335
+
336
+ /* Interactive States (Examples) */
337
+ --color-interactive-primary-hover-bg: var(--blue-600);
338
+ --color-interactive-primary-active-bg: var(--blue-400);
339
+ --color-interactive-primary-resting-fg: var(--black); /* Text on primary */
340
+
341
+ --color-interactive-neutral-hover-bg: var(--gray-800);
342
+ --color-interactive-neutral-active-bg: var(--gray-700);
343
+
344
+ /* --- Focus Ring --- */
345
+ --color-focus-ring: var(--blue-500); /* Often same color, check contrast */
346
+
347
+ /* --- Shadows (Colors Only) --- */
348
+ /* Using black with higher alpha for dark mode shadows */
349
+ --color-shadow-umbra: hsla(0, 0%, 0%, 0.2);
350
+ --color-shadow-penumbra: hsla(0, 0%, 0%, 0.14);
351
+ --color-shadow-ambient: hsla(0, 0%, 0%, 0.12);
352
+ --color-shadow-outline: hsla(0, 0%, 0%, 0.3);
353
+ }
354
+ }
355
+
356
+ /* ==========================================================================
357
+ 4. TYPOGRAPHY
358
+ ========================================================================== */
359
+
360
+ :root {
361
+ /* ---------------------------------- */
362
+ /* Font Families */
363
+ /* ---------------------------------- */
364
+ --font-family-heading: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', 'Liberation Sans', Helvetica, Arial, system-ui, sans-serif;
365
+ --font-family-text: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', 'Liberation Sans', Helvetica, Arial, system-ui, sans-serif;
366
+ --font-family-mono: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, 'Liberation Mono', monospace;
367
+
368
+ /* ---------------------------------- */
369
+ /* Font Weights */
370
+ /* ---------------------------------- */
371
+ /* Use these named weights */
372
+ --font-weight-1: 400;
373
+ --font-weight-2: 500;
374
+ --font-weight-3: 600;
375
+ --font-weight-4: 700;
376
+ /* Note: Heavier weights (800, 900) exist in source but less common */
377
+ --font-weight-5: 800;
378
+ --font-weight-6: 900;
379
+
380
+ /* ---------------------------------- */
381
+ /* Font Sizes (Numerical Scale) */
382
+ /* ---------------------------------- */
383
+ /* Combined scale from label, code, text, heading sizes. */
384
+ /* Use comments to hint at original context if needed. */
385
+ --font-size-1: 8.1px; /* label-1 */
386
+ --font-size-2: 9.5px; /* label-2 */
387
+ --font-size-3: 10px; /* code-1, text-1 */
388
+ --font-size-4: 10.8px; /* label-3 */
389
+ --font-size-5: 12.25px; /* label-4 */
390
+ --font-size-6: 13px; /* code-2, text-2, heading-1 */
391
+ --font-size-7: 13.6px; /* label-5 */
392
+ --font-size-8: 15px; /* text-3, label-6 */
393
+ --font-size-9: 16px; /* code-3, heading-2 */
394
+ --font-size-10: 18px; /* text-4 */
395
+ --font-size-11: 19px; /* code-4 */
396
+ --font-size-12: 21px; /* text-5, heading-3 */
397
+ --font-size-13: 22px; /* code-5 */
398
+ --font-size-14: 27px; /* heading-4 */
399
+ --font-size-15: 33px; /* heading-5 */
400
+ --font-size-16: 38px; /* heading-6 */
401
+
402
+ /* Category type scales */
403
+ --font-size-code-1: var(--font-size-3, 10px);
404
+ --font-size-code-2: var(--font-size-6, 13px);
405
+ --font-size-code-3: var(--font-size-9, 16px);
406
+ --font-size-code-4: var(--font-size-11, 19px);
407
+ --font-size-code-5: var(--font-size-13, 22px);
408
+
409
+ --font-size-text-1: var(--font-size-3, 10px);
410
+ --font-size-text-2: var(--font-size-6, 13px);
411
+ --font-size-text-3: var(--font-size-8, 15px);
412
+ --font-size-text-4: var(--font-size-10, 18px);
413
+ --font-size-text-5: var(--font-size-12, 21px);
414
+
415
+ --font-size-heading-1: var(--font-size-6, 13px);
416
+ --font-size-heading-2: var(--font-size-9, 16px);
417
+ --font-size-heading-3: var(--font-size-12, 21px);
418
+ --font-size-heading-4: var(--font-size-14, 27px);
419
+ --font-size-heading-5: var(--font-size-15, 33px);
420
+ --font-size-heading-6: var(--font-size-16, 38px);
421
+
422
+ --font-size-label-1: var(--font-size-1, 8.1px);
423
+ --font-size-label-2: var(--font-size-2, 9.5px);
424
+ --font-size-label-3: var(--font-size-4, 10.8px);
425
+ --font-size-label-4: var(--font-size-5, 12.25px);
426
+ --font-size-label-5: var(--font-size-7, 13.6px);
427
+ --font-size-label-6: var(--font-size-8, 15px);
428
+
429
+ /* ---------------------------------- */
430
+ /* Line Heights (Numerical Scale) */
431
+ /* ---------------------------------- */
432
+ /* Unitless values are recommended for line-height. */
433
+ /* Scale derived from font sizes, may need adjustment/simplification. */
434
+ --line-height-1: 1.0; /* 15 / 15 */
435
+ --line-height-2: 1.03; /* 14 / 13.6 */
436
+ --line-height-3: 1.06; /* 13 / 12.25 */
437
+ --line-height-4: 1.11; /* 12 / 10.8 */
438
+ --line-height-5: 1.16; /* 11 / 9.5 */
439
+ --line-height-6: 1.23; /* 10 / 8.1 */
440
+ --line-height-7: 1.24; /* 41 / 33 - 47 / */
441
+ --line-height-8: 1.3; /* 35 / 27 */
442
+ --line-height-9: 1.38; /* 29 / 21 */
443
+ --line-height-10: 1.41; /* 31 / 22 */
444
+ --line-height-11: 1.42; /* 27 / 19 */
445
+ --line-height-12: 1.44; /* 23 / 16 */
446
+ --line-height-13: 1.46; /* 19 / 13 */
447
+ --line-height-14: 1.5; /* 27 / 18 - 15 / 10*/
448
+
449
+ /* Simplified options */
450
+ --line-height-solid: 1;
451
+ --line-height-heading: 1.25;
452
+ --line-height-text: 1.5;
453
+
454
+ /* ---------------------------------- */
455
+ /* Letter Spacing (Numerical Scale) */
456
+ /* ---------------------------------- */
457
+ /* Using `em` units */
458
+ --letter-spacing-0: 0; /* Default for most text */
459
+ --letter-spacing-1: -0.02em; /* Example */
460
+ --letter-spacing-2: 0.025em; /* Example */
461
+ --letter-spacing-3: 0.05em; /* Derived from label styles (0.5px / ~10px font) */
462
+ --letter-spacing-4: 0.1em; /* Example */
463
+
464
+ /* FONT SHORTHAND */
465
+ --code-1: 10px / 1.5, var(--font-family-mono);
466
+ --code-2: 13px / 1.4615, var(--font-family-mono);
467
+ --code-3: 16px / 1.4375, var(--font-family-mono);
468
+ --code-4: 19px / 1.421, var(--font-family-mono);
469
+
470
+ --text-1: 10px / 1.5, var(--font-family-text);
471
+ --text-2: 13px / 1.4615, var(--font-family-text);
472
+ --text-3: 15px / 1.5333, var(--font-family-text);
473
+ --text-4: 18px / 1.5, var(--font-family-text);
474
+ --text-4: 21px / 1.4761, var(--font-family-text);
475
+
476
+ --heading-1: 13px / 1.4615, var(--font-family-heading);
477
+ --heading-2: 16px / 1.4375, var(--font-family-heading);
478
+ --heading-3: 21px / 1.3809, var(--font-family-heading);
479
+ --heading-4: 27px / 1.2962, var(--font-family-heading);
480
+ --heading-4: 33px / 1.2424, var(--font-family-heading);
481
+ --heading-4: 38px / 1.2368, var(--font-family-heading);
482
+
483
+ --label-1: 8.1px / 1.2345, var(--font-family-text);
484
+ --label-2: 9.5px / 1.1578, var(--font-family-text);
485
+ --label-3: 10.8px / 1.1111, var(--font-family-text);
486
+ --label-4: 12.25px / 1.0612, var(--font-family-text);
487
+ --label-5: 13.6px / 1.0294, var(--font-family-text);
488
+ --label-6: 15px / 1, var(--font-family-text);
489
+ }
490
+
491
+ /* ==========================================================================
492
+ 5. SPACING & SIZING
493
+ ========================================================================== */
494
+
495
+ :root {
496
+ /* ---------------------------------- */
497
+ /* Spacing (Numerical Scale) */
498
+ /* ---------------------------------- */
499
+ /* Used for padding, margin, gap, etc. Assumed px units. */
500
+
501
+ --space-0: 0px;
502
+ --space-1: 4px;
503
+ --space-2: 8px;
504
+ --space-3: 12px;
505
+ --space-4: 20px;
506
+ --space-5: 32px;
507
+ --space-6: 52px;
508
+ --space-7: 84px;
509
+ --space-8: 136px;
510
+ --space-9: 220px;
511
+
512
+ /* ---------------------------------- */
513
+ /* Border Radius (Numerical Scale) */
514
+ /* ---------------------------------- */
515
+ /* Assumed px units. Index 7 is 'pill' shape. */
516
+ --radius-0: 0px;
517
+ --radius-1: 1px;
518
+ --radius-2: 3px;
519
+ --radius-3: 6px;
520
+ --radius-4: 9px;
521
+ --radius-5: 12px;
522
+ --radius-6: 21px;
523
+ --radius-7: 9999px; /* Pill / Full round */
524
+
525
+ /* ---------------------------------- */
526
+ /* Container Widths (Numerical Scale) */
527
+ /* ---------------------------------- */
528
+ /* Max-widths for layout containers. Assumed px units. */
529
+ --container-1: 320px;
530
+ --container-2: 640px;
531
+ --container-3: 960px;
532
+ --container-4: 1280px;
533
+ --container-5: 1600px;
534
+ --container-6: 1920px;
535
+ }
536
+
537
+ /* ==========================================================================
538
+ 6. SHADOWS (COMPUTED)
539
+ ========================================================================== */
540
+
541
+ :root {
542
+ /* ---------------------------------- */
543
+ /* Shadow Components (Numerical) */
544
+ /* ---------------------------------- */
545
+ /* Define the offset-x, offset-y, blur-radius, spread-radius in px */
546
+ /* Level 0 is null/none */
547
+ /* Level 1 (Subtle/Inset?) */
548
+ --shadow-umbra-px-1: 0px 0px 0px 0px;
549
+ --shadow-penumbra-px-1: 0px 0px 0px 0px;
550
+ --shadow-ambient-px-1: 0px 0px 0px 0px;
551
+ /* Level 2 (Low) */
552
+ --shadow-umbra-px-2: 0px 3px 5px -2px;
553
+ --shadow-penumbra-px-2: 0px 6px 10px 0px;
554
+ --shadow-ambient-px-2: 0px 1px 18px 1px;
555
+ /* Level 3 (Medium) */
556
+ --shadow-umbra-px-3: 0px 7px 8px -4px;
557
+ --shadow-penumbra-px-3: 0px 12px 17px 2px;
558
+ --shadow-ambient-px-3: 0px 5px 22px 4px;
559
+ /* Level 4 (High) */
560
+ --shadow-umbra-px-4: 0px 9px 11px -5px;
561
+ --shadow-penumbra-px-4: 0px 18px 28px 2px;
562
+ --shadow-ambient-px-4: 0px 7px 34px 6px;
563
+ /* Level 5 (Very High) */
564
+ --shadow-umbra-px-5: 0px 11px 15px -7px;
565
+ --shadow-penumbra-px-5: 0px 24px 38px 3px;
566
+ --shadow-ambient-px-5: 0px 9px 46px 8px;
567
+
568
+ /* ---------------------------------- */
569
+ /* Box Shadows (Numerical Scale) */
570
+ /* ---------------------------------- */
571
+ /* Combines numerical components with semantic shadow colors */
572
+ --shadow-0: none;
573
+ /* Shadow 1 is typically inset or very subtle - example */
574
+ --shadow-1: inset 0 0 0 1px var(--color-border-default);
575
+ --shadow-2: var(--shadow-umbra-px-2) var(--color-shadow-umbra), var(--shadow-penumbra-px-2) var(--color-shadow-penumbra), var(--shadow-ambient-px-2) var(--color-shadow-ambient);
576
+ --shadow-3: var(--shadow-umbra-px-3) var(--color-shadow-umbra), var(--shadow-penumbra-px-3) var(--color-shadow-penumbra), var(--shadow-ambient-px-3) var(--color-shadow-ambient);
577
+ --shadow-4: var(--shadow-umbra-px-4) var(--color-shadow-umbra), var(--shadow-penumbra-px-4) var(--color-shadow-penumbra), var(--shadow-ambient-px-4) var(--color-shadow-ambient);
578
+ --shadow-5: var(--shadow-umbra-px-5) var(--color-shadow-umbra), var(--shadow-penumbra-px-5) var(--color-shadow-penumbra), var(--shadow-ambient-px-5) var(--color-shadow-ambient);
579
+ }
580
+
581
+ /* ==========================================================================
582
+ 7. TRANSITIONS
583
+ ========================================================================== */
584
+
585
+ :root {
586
+ --transition-duration-1: 100ms; /* From button styles */
587
+ --transition-duration-2: 150ms; /* From input switch */
588
+ --transition-duration-3: 200ms; /* Example */
589
+ --transition-duration-4: 300ms; /* Example */
590
+
591
+ --transition-easing-default: ease-in-out;
592
+ --transition-easing-ease-out: ease-out; /* From input switch */
593
+ --transition-easing-ease-in: ease-in;
594
+ }
595
+
596
+ /* ==========================================================================
597
+ 8. LAYOUT & Z-INDEX
598
+ ========================================================================== */
599
+
600
+ :root {
601
+ /* ---------------------------------- */
602
+ /* Z-Index (Numerical Scale) */
603
+ /* ---------------------------------- */
604
+ /* Stacking order for layers */
605
+ --z-index-0: 0;
606
+ --z-index-1: 100; /* Base elements */
607
+ --z-index-2: 200; /* Tooltips (from layer.tooltip.zOffset) */
608
+ --z-index-3: 300;
609
+ --z-index-4: 400; /* Popovers (from layer.popover.zOffset) */
610
+ --z-index-5: 500;
611
+ --z-index-6: 600; /* Dialogs (from layer.dialog.zOffset) */
612
+ --z-index-7: 700; /* Max */
613
+
614
+ /* ---------------------------------- */
615
+ /* Media Query Breakpoints (Numerical)*/
616
+ /* ---------------------------------- */
617
+ /* Values from theme.media - use in @media (min-width: var(--media-N)) */
618
+ --media-1: 360px;
619
+ --media-2: 600px;
620
+ --media-3: 900px;
621
+ --media-4: 1200px;
622
+ --media-5: 1800px;
623
+ --media-6: 2400px;
624
+ }
625
+
626
+ /* --- End of Sanity UI CSS Variables --- */
627
+
1
628
  :root {
2
629
  --card-bg-color: light-dark(#f6f6f8, #0d0e12);
3
- --card-border-color: light-dark(#dbdce2, #252837);
630
+ --card-border-color: light-dark(var(--gray-200), var(--gray-800));
4
631
  --text-color: light-dark(#242736, #e3e4e8);
5
632
  --button-text-color: light-dark(white, #0d0e12);
6
633
  --button-background-color: light-dark(rgb(85, 107, 252), rgb(120, 152, 255));
7
634
  --button-background-color-hover: light-dark(rgb(64, 67, 231), rgb(170, 193, 255));
8
635
  --button-border-color: light-dark(rgb(85, 107, 252), rgb(120, 152, 255));
9
636
  --button-border-color-hover: light-dark(rgb(64, 67, 231), rgb(170, 193, 255));
637
+
638
+ --button-color: light-dark(#fff, #000);
639
+ --button-primary-bg: light-dark(#272937, #999999);
640
+ --button-primary-bg-hover: light-dark(#1c1f28, #888888);
641
+
642
+ --size-1: 1px;
643
+ --size-2: 2px;
644
+ --size-3: 4px;
645
+ --size-4: 8px;
646
+ --size-5: 16px;
647
+ --size-6: 24px;
648
+ --size-7: 32px;
649
+ --size-8: 48px;
650
+ --size-9: 64px;
651
+ --size-10: 128px;
10
652
  }
653
+
11
654
  html {
12
655
  color-scheme: light dark;
656
+ min-height: 100dvh;
657
+ max-height: 100dvh;
658
+ height: 100%;
659
+ overflow: hidden;
13
660
  }
14
661
 
15
662
  body {
16
663
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', 'Liberation Sans', Helvetica, Arial, system-ui, sans-serif;
17
- background-color: var(--card-bg-color);
18
664
  color: var(--text-color) !important;
19
- min-height: 100vh;
665
+ min-height: 100dvh;
666
+ max-height: 100dvh;
667
+ height: 100%;
668
+ overflow: hidden;
20
669
  display: grid;
21
670
  grid-template-areas:
22
671
  'header'
672
+ 'filters'
23
673
  'left-sidebar'
24
- 'main'
25
- 'footer';
26
- grid-template-rows: min-content min-content 1fr min-content;
674
+ 'main';
675
+
676
+ grid-template-rows: min-content min-content min-content 1fr;
677
+ }
678
+
679
+ /* Utilities */
680
+ .flex {
681
+ display: flex;
682
+ }
683
+ .items-center {
684
+ align-items: center;
685
+ }
686
+ .space-between {
687
+ justify-content: space-between;
688
+ }
689
+
690
+ .sticky {
691
+ position: sticky;
27
692
  }
693
+ .relative {
694
+ position: relative;
695
+ }
696
+
697
+ .top-0 {
698
+ top: 0;
699
+ }
700
+ .right-0 {
701
+ right: 0;
702
+ }
703
+ .left-0 {
704
+ left: 0;
705
+ }
706
+ .bottom-0 {
707
+ bottom: 0;
708
+ }
709
+
710
+ .z-100 {
711
+ z-index: 100;
712
+ }
713
+ .h-100 {
714
+ height: 100%;
715
+ }
716
+ .max-h-100 {
717
+ max-height: 100%;
718
+ }
719
+ .min-h-0 {
720
+ min-height: 0;
721
+ }
722
+ .y-scroll {
723
+ overflow-y: scroll;
724
+ }
725
+
726
+ .border-color {
727
+ border-color: light-dark(var(--gray-200), var(--gray-800));
728
+ }
729
+ .border-left {
730
+ border-left-width: 1px;
731
+ border-left-style: solid;
732
+ border-left-color: var(--card-border-color);
733
+ }
734
+ .border-bottom {
735
+ border-bottom-width: 1px;
736
+ border-bottom-style: solid;
737
+ border-bottom-color: var(--card-border-color);
738
+ }
739
+ .border-top {
740
+ border-top-width: 1px;
741
+ border-top-style: solid;
742
+ border-top-color: var(--card-border-color);
743
+ }
744
+ .border-right {
745
+ border-right-width: 1px;
746
+ border-right-style: solid;
747
+ border-top-color: var(--card-border-color);
748
+ }
749
+
750
+ .bg-transparent {
751
+ background-color: transparent;
752
+ }
753
+
754
+ .hr-border {
755
+ margin-top: 0;
756
+ margin-bottom: 0;
757
+ height: 0;
758
+ border-top: 0;
759
+ border-bottom: 1px solid light-dark(var(--gray-200), var(--gray-800));
760
+ }
761
+
762
+ /* Layout */
28
763
  body > header {
29
764
  grid-area: header;
30
765
  }
766
+ body > filters-component {
767
+ grid-area: filters;
768
+ }
31
769
  body > nav {
32
770
  grid-area: left-sidebar;
33
771
  }
34
772
  body > main {
35
773
  grid-area: main;
36
774
  }
37
- body > footer {
38
- grid-area: footer;
39
- }
40
-
41
- @media (min-width: 40rem) {
42
- body {
43
- grid-template:
44
- 'header header' min-content
45
- 'left-sidebar main ' 1fr
46
- 'footer footer' min-content
47
- / minmax(auto, var(--layout-max-sidebar-width, 16rem)) minmax(var(--layout-min-content-width, 16rem), 1fr);
48
- }
49
- }
50
775
 
51
776
  @media (max-width: 40rem) {
52
- button {
53
- width: 100%;
54
- }
55
-
56
777
  .block-lg {
57
778
  display: block !important;
58
779
  }
@@ -62,8 +783,22 @@ body > footer {
62
783
  }
63
784
  }
64
785
 
786
+ @media (min-width: 40em) {
787
+ body {
788
+ grid-template:
789
+ 'header header' min-content
790
+ 'filters filters' min-content
791
+ 'left-sidebar main ' 1fr
792
+ / minmax(auto, 320px) 1fr;
793
+ }
794
+ .border-top-none-l {
795
+ border-top: 0;
796
+ }
797
+ }
798
+
65
799
  header {
66
800
  border-bottom: 1px solid var(--card-border-color);
801
+ background: light-dark(white, var(--gray-950));
67
802
  }
68
803
 
69
804
  footer {
@@ -77,8 +812,8 @@ footer {
77
812
  }
78
813
 
79
814
  .logo-image {
80
- height: 2.25em;
81
- width: auto;
815
+ height: 25px;
816
+ width: 25px;
82
817
  }
83
818
 
84
819
  .logo-image img {
@@ -88,68 +823,194 @@ footer {
88
823
 
89
824
  .logo-text {
90
825
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', 'Liberation Sans', Helvetica, Arial, system-ui, sans-serif;
826
+ font-size: 13px;
91
827
  font-weight: 500;
92
828
  margin: 0px;
93
- line-height: calc(1.46154);
94
829
  letter-spacing: 0px;
95
830
  }
96
831
 
97
- .footer-text {
98
- position: relative;
99
- font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', 'Liberation Sans', Helvetica, Arial, system-ui, sans-serif;
100
- font-weight: 400;
101
- padding: 1px 0px;
102
- margin: 0px;
103
- font-size: 0.8125rem;
104
- line-height: calc(1.46154);
105
- letter-spacing: 0px;
106
- transform: translateY(0.3125rem);
107
- }
108
-
109
832
  .sanity-button {
110
- color: var(--button-text-color) !important;
111
- background-color: var(--button-background-color) !important;
112
- border-color: var(--button-border-color) !important;
833
+ appearance: none;
834
+ -webkit-appearance: none;
835
+ display: flex;
836
+ align-items: center;
837
+ gap: 6px;
838
+ background-color: light-dark(var(--gray-900), white) !important;
839
+ color: light-dark(white, var(--gray-950)) !important;
840
+ border: 0 !important;
841
+ border-radius: 3px !important;
842
+ outline: 0;
843
+ font-size: 14px !important;
844
+ line-height: 1;
845
+ padding: 0px 12px !important;
846
+ height: 24px !important;
847
+ max-width: 160px;
113
848
  }
114
849
 
115
850
  .sanity-button:hover {
116
- background-color: var(--button-background-color-hover) !important;
117
- border-color: var(--button-border-color-hover) !important;
851
+ background-color: var(--button-primary-bg-hover) !important;
852
+ }
853
+
854
+ .config-label {
855
+ text-transform: uppercase;
856
+ font-size: 11px;
857
+ font-weight: 500;
858
+ letter-spacing: .5px;
859
+ }
860
+
861
+ .config-label span {
862
+ display: block;
863
+ margin-bottom: 8px;
864
+ }
865
+
866
+ .function-list-item {
867
+ color: light-dark(var(--gray-800), var(--gray-400));
868
+ padding: 8px;
869
+ font-size: .875rem;
870
+ border-radius: 3px;
871
+ margin: 0 0 1px 0;
872
+ cursor: pointer;
118
873
  }
119
874
 
120
875
  .selected {
121
- color: var(--button-text-color);
122
- background-color: var(--button-background-color);
876
+ color: light-dark(var(--gray-950), var(--gray-200));
877
+ background-color: light-dark(var(--gray-100), var(--gray-900));
123
878
  }
124
879
 
125
- ol[type='content'] li:hover {
126
- color: var(--button-text-color);
127
- background-color: var(--button-background-color-hover) !important;
880
+ ol[type='content'] li:hover:not(.selected:not(.selected)) {
881
+ color: light-dark(var(--gray-950), var(--gray-200));
882
+ background-color: light-dark(var(--gray-50), var(--gray-900)) !important;
128
883
  }
129
884
 
130
- m-box,
131
- m-tabs {
885
+ m-box {
132
886
  background-color: var(--card-bg-color) !important;
133
887
  border-color: var(--card-border-color) !important;
134
888
  color: var(--text-color) !important;
135
889
  }
136
890
 
891
+ m-tabs {
892
+ font-size: 0.8125rem;
893
+ display: flex;
894
+ align-items: center;
895
+ gap: 16px;
896
+ padding: 10px 0 10px 40px;
897
+ }
898
+
137
899
  m-tabs {
138
900
  & > :is(a, button) {
139
- color: var(--text-color) !important;
901
+ padding: 4px 12px !important;
902
+ color: light-dark(var(--gray-900), var(--gray-300)) !important;
140
903
  }
141
904
  }
142
905
 
143
906
  m-tabs {
144
907
  & > :is(a, button) {
145
908
  &[aria-selected='true'] {
146
- border-color: var(--button-border-color) !important;
909
+ background: light-dark(var(--gray-100), var(--gray-800));
910
+ color: light-dark(var(--gray-800), var(--gray-100)) !important;
147
911
  }
148
912
  }
149
913
  }
150
914
 
915
+ :is(ul, ol)[type='content'] {
916
+ & > li:not(:last-of-type) {
917
+ border-bottom: 0 !important;
918
+ }
919
+ }
920
+
921
+ .tab {
922
+ font-size: 11px;
923
+ font-weight: 500;
924
+ border-radius: .1875rem;
925
+ padding: 8px;
926
+ border: 0 !important;
927
+ }
928
+
151
929
  #payload,
152
930
  #response {
153
- color: black;
154
- background-color: white !important;
931
+ overflow-y: scroll;
932
+ height: 100%;
933
+ }
934
+
935
+ .gutter-gradient {
936
+ --gutter-width: 30px;
937
+ --gutter-border-width: 1px;
938
+
939
+ /* Light mode default gradient */
940
+ background-image: linear-gradient(to right, var(--gray-50) var(--gutter-width), var(--gray-100) var(--gutter-width), var(--gray-100) calc(var(--gutter-width) + var(--gutter-border-width)), transparent calc(var(--gutter-width) + var(--gutter-border-width)));
941
+ }
942
+
943
+ /* Apply dark mode gradient override */
944
+ @media (prefers-color-scheme: dark) {
945
+ .gutter-gradient {
946
+ background-image: linear-gradient(to right, var(--gray-900) var(--gutter-width), var(--gray-800) var(--gutter-width), var(--gray-800) calc(var(--gutter-width) + var(--gutter-border-width)), transparent calc(var(--gutter-width) + var(--gutter-border-width)));
947
+ }
948
+ /* Add other dark-mode specific overrides here if needed */
949
+ }
950
+
951
+ .bg {
952
+ background-color: light-dark(white, var(--gray-950));
953
+ }
954
+
955
+ .cm-editor {
956
+ background-color: transparent;
957
+ }
958
+
959
+ .cm-gutters.cm-gutters {
960
+ background-color: transparent;
961
+ color: light-dark(var(--gray-800), var(--gray-500));
962
+ border-right: none;
963
+ }
964
+
965
+ & :is(input:not([is='switch']), select, textarea) {
966
+ border: 1px solid light-dark(var(--gray-200), var(--gray-800)) !important;
967
+ border-radius: 3px;
968
+ }
969
+
970
+ .cm-activeLine.cm-activeLine {
971
+ background-color: light-dark(rgba(0, 0, 0, 0.05), rgba(255, 255, 255, 0.025)) !important;
972
+ }
973
+
974
+ .cm-activeLineGutter.cm-activeLineGutter {
975
+ background-color: light-dark(rgba(0, 0, 0, 0.025), rgba(255, 255, 255, 0.1)) !important;
976
+ }
977
+
978
+ .slab-stat {
979
+ font-family: var(--font-family-mono);
980
+ display: flex;
981
+ align-items: center;
982
+ gap: 0 8px;
983
+ font-size: var(--font-size-text-2);
984
+ margin: 0;
985
+ padding: var(--space-3);
986
+ }
987
+
988
+ .slab-stat dt {
989
+ font-weight: 400;
990
+ text-transform: none;
991
+ margin: 0;
992
+ padding: 0;
993
+ }
994
+
995
+ .slab-stat dd {
996
+ font-weight: 700;
997
+ text-transform: none;
998
+ margin: 0;
999
+ padding: 0;
1000
+ }
1001
+
1002
+ pre {
1003
+ color: var(--base-text-color) !important;
1004
+ background-color: transparent !important;
1005
+ }
1006
+
1007
+ time {
1008
+ font-family: var(--font-family-mono);
1009
+ }
1010
+
1011
+ response-panel,
1012
+ payload-panel {
1013
+ max-height: 100%;
1014
+ height: 100%;
1015
+ overflow: hidden;
155
1016
  }