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