@sanity/runtime-cli 15.0.5 → 15.1.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.
- package/README.md +20 -20
- package/dist/commands/blueprints/plan.js +0 -1
- package/dist/cores/blueprints/deploy.js +8 -3
- package/dist/cores/blueprints/destroy.js +3 -3
- package/dist/cores/blueprints/plan.js +7 -1
- package/dist/server/static/components/app.css +29 -570
- package/dist/server/static/index.html +1 -0
- package/dist/server/static/vendor/design-tokens/color.css +107 -0
- package/dist/server/static/vendor/design-tokens/container.css +12 -0
- package/dist/server/static/vendor/design-tokens/fontFamily.css +8 -0
- package/dist/server/static/vendor/design-tokens/fontWeight.css +10 -0
- package/dist/server/static/vendor/design-tokens/index.css +14 -0
- package/dist/server/static/vendor/design-tokens/radius.css +14 -0
- package/dist/server/static/vendor/design-tokens/shadow.css +12 -0
- package/dist/server/static/vendor/design-tokens/space.css +16 -0
- package/dist/server/static/vendor/design-tokens/typography.css +32 -0
- package/dist/utils/blueprints/{log-hints.d.ts → hints.d.ts} +7 -7
- package/dist/utils/blueprints/{log-hints.js → hints.js} +9 -6
- package/oclif.manifest.json +1 -1
- package/package.json +8 -4
|
@@ -18,26 +18,6 @@
|
|
|
18
18
|
1. SETUP & BASE
|
|
19
19
|
2. RAW COLOR PALETTE
|
|
20
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
21
|
-------------------------------------------------------------------------- */
|
|
42
22
|
|
|
43
23
|
/* ==========================================================================
|
|
@@ -59,7 +39,7 @@
|
|
|
59
39
|
text-rendering: optimizeLegibility;
|
|
60
40
|
-webkit-font-smoothing: antialiased;
|
|
61
41
|
-moz-osx-font-smoothing: grayscale;
|
|
62
|
-
font-family: var(--
|
|
42
|
+
font-family: var(--sans);
|
|
63
43
|
|
|
64
44
|
/* Gutter Gradient Variables */
|
|
65
45
|
}
|
|
@@ -68,121 +48,11 @@
|
|
|
68
48
|
2. RAW COLOR PALETTE
|
|
69
49
|
==========================================================================
|
|
70
50
|
|
|
71
|
-
|
|
72
|
-
|
|
51
|
+
Provided by @sanity-labs/design-tokens via ./vendor/design-tokens/index.css
|
|
52
|
+
(linked in index.html before this file). Variables: --black, --white,
|
|
53
|
+
--<hue>-<50..950> for blue, cyan, gray, green, magenta, orange, purple,
|
|
54
|
+
red, yellow.
|
|
73
55
|
*/
|
|
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
56
|
|
|
187
57
|
/* ==========================================================================
|
|
188
58
|
3. SEMANTIC COLORS (LIGHT & DARK MODE)
|
|
@@ -195,438 +65,27 @@
|
|
|
195
65
|
*/
|
|
196
66
|
|
|
197
67
|
:root {
|
|
198
|
-
/*
|
|
199
|
-
|
|
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 */
|
|
68
|
+
/* Semantic Colors: LIGHT MODE */
|
|
69
|
+
--color-surface-subtle: var(--gray-100);
|
|
249
70
|
--color-border-default: var(--gray-200);
|
|
250
|
-
--color-
|
|
251
|
-
|
|
252
|
-
|
|
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
|
-
/* ---------------------------------- */
|
|
71
|
+
--color-interactive-primary-active-bg: var(--blue-700); /* used by toggle-switch.js */
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
/* Semantic Colors: DARK MODE */
|
|
278
75
|
@media (prefers-color-scheme: dark) {
|
|
279
76
|
:root {
|
|
280
|
-
/* Override base colors */
|
|
281
77
|
--base-color: var(--white);
|
|
282
|
-
--base-background-color: var(--gray-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 */
|
|
78
|
+
--base-background-color: var(--gray-950);
|
|
324
79
|
--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
80
|
--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
81
|
--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
82
|
}
|
|
354
83
|
}
|
|
355
84
|
|
|
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; /* 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-5: 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-5: 33px / 1.2424, var(--font-family-heading);
|
|
481
|
-
--heading-6: 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
85
|
:root {
|
|
496
|
-
/* ---------------------------------- */
|
|
497
|
-
/* Spacing (Numerical Scale) */
|
|
498
|
-
/* ---------------------------------- */
|
|
499
|
-
/* Used for padding, margin, gap, etc. Assumed px units. */
|
|
500
|
-
|
|
501
|
-
--space-7: 84px;
|
|
502
|
-
|
|
503
|
-
/* ---------------------------------- */
|
|
504
|
-
/* Container Widths (Numerical Scale) */
|
|
505
|
-
/* ---------------------------------- */
|
|
506
|
-
/* Max-widths for layout containers. Assumed px units. */
|
|
507
|
-
--container-1: 320px;
|
|
508
|
-
--container-2: 640px;
|
|
509
|
-
--container-3: 960px;
|
|
510
|
-
--container-4: 1280px;
|
|
511
|
-
--container-5: 1600px;
|
|
512
|
-
--container-6: 1920px;
|
|
513
|
-
}
|
|
514
|
-
|
|
515
|
-
/* ==========================================================================
|
|
516
|
-
6. SHADOWS (COMPUTED)
|
|
517
|
-
========================================================================== */
|
|
518
|
-
|
|
519
|
-
:root {
|
|
520
|
-
/* ---------------------------------- */
|
|
521
|
-
/* Shadow Components (Numerical) */
|
|
522
|
-
/* ---------------------------------- */
|
|
523
|
-
/* Define the offset-x, offset-y, blur-radius, spread-radius in px */
|
|
524
|
-
/* Level 0 is null/none */
|
|
525
|
-
/* Level 1 (Subtle/Inset?) */
|
|
526
|
-
--shadow-umbra-px-1: 0px 0px 0px 0px;
|
|
527
|
-
--shadow-penumbra-px-1: 0px 0px 0px 0px;
|
|
528
|
-
--shadow-ambient-px-1: 0px 0px 0px 0px;
|
|
529
|
-
/* Level 2 (Low) */
|
|
530
|
-
--shadow-umbra-px-2: 0px 3px 5px -2px;
|
|
531
|
-
--shadow-penumbra-px-2: 0px 6px 10px 0px;
|
|
532
|
-
--shadow-ambient-px-2: 0px 1px 18px 1px;
|
|
533
|
-
/* Level 3 (Medium) */
|
|
534
|
-
--shadow-umbra-px-3: 0px 7px 8px -4px;
|
|
535
|
-
--shadow-penumbra-px-3: 0px 12px 17px 2px;
|
|
536
|
-
--shadow-ambient-px-3: 0px 5px 22px 4px;
|
|
537
|
-
/* Level 4 (High) */
|
|
538
|
-
--shadow-umbra-px-4: 0px 9px 11px -5px;
|
|
539
|
-
--shadow-penumbra-px-4: 0px 18px 28px 2px;
|
|
540
|
-
--shadow-ambient-px-4: 0px 7px 34px 6px;
|
|
541
|
-
/* Level 5 (Very High) */
|
|
542
|
-
--shadow-umbra-px-5: 0px 11px 15px -7px;
|
|
543
|
-
--shadow-penumbra-px-5: 0px 24px 38px 3px;
|
|
544
|
-
--shadow-ambient-px-5: 0px 9px 46px 8px;
|
|
545
|
-
|
|
546
|
-
/* ---------------------------------- */
|
|
547
|
-
/* Box Shadows (Numerical Scale) */
|
|
548
|
-
/* ---------------------------------- */
|
|
549
|
-
/* Combines numerical components with semantic shadow colors */
|
|
550
|
-
--shadow-0: none;
|
|
551
|
-
/* Shadow 1 is typically inset or very subtle - example */
|
|
552
|
-
--shadow-1: inset 0 0 0 1px var(--color-border-default);
|
|
553
|
-
--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);
|
|
554
|
-
--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);
|
|
555
|
-
--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);
|
|
556
|
-
--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);
|
|
557
|
-
}
|
|
558
|
-
|
|
559
|
-
/* ==========================================================================
|
|
560
|
-
7. TRANSITIONS
|
|
561
|
-
========================================================================== */
|
|
562
|
-
|
|
563
|
-
:root {
|
|
564
|
-
--transition-duration-1: 100ms; /* From button styles */
|
|
565
|
-
--transition-duration-2: 150ms; /* From input switch */
|
|
566
|
-
--transition-duration-3: 200ms; /* Example */
|
|
567
|
-
--transition-duration-4: 300ms; /* Example */
|
|
568
|
-
|
|
569
|
-
--transition-easing-default: ease-in-out;
|
|
570
|
-
--transition-easing-ease-out: ease-out; /* From input switch */
|
|
571
|
-
--transition-easing-ease-in: ease-in;
|
|
572
|
-
}
|
|
573
|
-
|
|
574
|
-
/* ==========================================================================
|
|
575
|
-
8. LAYOUT & Z-INDEX
|
|
576
|
-
========================================================================== */
|
|
577
|
-
|
|
578
|
-
:root {
|
|
579
|
-
/* ---------------------------------- */
|
|
580
|
-
/* Z-Index (Numerical Scale) */
|
|
581
|
-
/* ---------------------------------- */
|
|
582
|
-
/* Stacking order for layers */
|
|
583
|
-
--z-index-0: 0;
|
|
584
|
-
--z-index-1: 100; /* Base elements */
|
|
585
|
-
--z-index-2: 200; /* Tooltips (from layer.tooltip.zOffset) */
|
|
586
|
-
--z-index-3: 300;
|
|
587
|
-
--z-index-4: 400; /* Popovers (from layer.popover.zOffset) */
|
|
588
|
-
--z-index-5: 500;
|
|
589
|
-
--z-index-6: 600; /* Dialogs (from layer.dialog.zOffset) */
|
|
590
|
-
--z-index-7: 700; /* Max */
|
|
591
|
-
|
|
592
|
-
/* ---------------------------------- */
|
|
593
|
-
/* Media Query Breakpoints (Numerical)*/
|
|
594
|
-
/* ---------------------------------- */
|
|
595
|
-
/* Values from theme.media - use in @media (min-width: var(--media-N)) */
|
|
596
|
-
--media-1: 360px;
|
|
597
|
-
--media-2: 600px;
|
|
598
|
-
--media-3: 900px;
|
|
599
|
-
--media-4: 1200px;
|
|
600
|
-
--media-5: 1800px;
|
|
601
|
-
--media-6: 2400px;
|
|
602
|
-
}
|
|
603
|
-
|
|
604
|
-
/* --- End of Sanity UI CSS Variables --- */
|
|
605
|
-
|
|
606
|
-
:root {
|
|
607
|
-
--card-bg-color: light-dark(#f6f6f8, #0d0e12);
|
|
608
86
|
--card-border-color: light-dark(var(--gray-200), var(--gray-800));
|
|
609
87
|
--text-color: light-dark(#242736, #e3e4e8);
|
|
610
|
-
--button-text-color: light-dark(white, #0d0e12);
|
|
611
|
-
--button-background-color: light-dark(rgb(85, 107, 252), rgb(120, 152, 255));
|
|
612
|
-
--button-background-color-hover: light-dark(rgb(64, 67, 231), rgb(170, 193, 255));
|
|
613
|
-
--button-border-color: light-dark(rgb(85, 107, 252), rgb(120, 152, 255));
|
|
614
|
-
--button-border-color-hover: light-dark(rgb(64, 67, 231), rgb(170, 193, 255));
|
|
615
|
-
|
|
616
|
-
--button-color: light-dark(#fff, #000);
|
|
617
|
-
--button-primary-bg: light-dark(#272937, #999999);
|
|
618
88
|
--button-primary-bg-hover: light-dark(#1c1f28, #888888);
|
|
619
|
-
|
|
620
|
-
--size-1: 1px;
|
|
621
|
-
--size-2: 2px;
|
|
622
|
-
--size-3: 4px;
|
|
623
|
-
--size-4: 8px;
|
|
624
|
-
--size-5: 16px;
|
|
625
|
-
--size-6: 24px;
|
|
626
|
-
--size-7: 32px;
|
|
627
|
-
--size-8: 48px;
|
|
628
|
-
--size-9: 64px;
|
|
629
|
-
--size-10: 128px;
|
|
630
89
|
}
|
|
631
90
|
|
|
632
91
|
html {
|
|
@@ -638,7 +97,7 @@ html {
|
|
|
638
97
|
}
|
|
639
98
|
|
|
640
99
|
body {
|
|
641
|
-
font-family:
|
|
100
|
+
font-family: var(--sans);
|
|
642
101
|
color: var(--text-color) !important;
|
|
643
102
|
min-height: 100dvh;
|
|
644
103
|
max-height: 100dvh;
|
|
@@ -833,9 +292,9 @@ footer {
|
|
|
833
292
|
}
|
|
834
293
|
|
|
835
294
|
.logo-text {
|
|
836
|
-
font-family:
|
|
295
|
+
font-family: var(--sans);
|
|
837
296
|
font-size: 13px;
|
|
838
|
-
font-weight:
|
|
297
|
+
font-weight: var(--medium);
|
|
839
298
|
margin: 0px;
|
|
840
299
|
letter-spacing: 0px;
|
|
841
300
|
}
|
|
@@ -848,11 +307,11 @@ footer {
|
|
|
848
307
|
background-color: light-dark(var(--gray-900), white) !important;
|
|
849
308
|
color: light-dark(white, var(--gray-950)) !important;
|
|
850
309
|
border: 0 !important;
|
|
851
|
-
border-radius:
|
|
310
|
+
border-radius: var(--radius-2) !important;
|
|
852
311
|
outline: 0;
|
|
853
312
|
font-size: 14px !important;
|
|
854
313
|
line-height: 1 !important;
|
|
855
|
-
padding:
|
|
314
|
+
padding: 0 var(--space-3) !important;
|
|
856
315
|
height: 24px !important;
|
|
857
316
|
max-width: 160px;
|
|
858
317
|
}
|
|
@@ -864,25 +323,25 @@ footer {
|
|
|
864
323
|
.config-label {
|
|
865
324
|
text-transform: uppercase;
|
|
866
325
|
font-size: 11px;
|
|
867
|
-
font-weight:
|
|
326
|
+
font-weight: var(--medium);
|
|
868
327
|
letter-spacing: 0.5px;
|
|
869
328
|
}
|
|
870
329
|
|
|
871
330
|
.config-label span {
|
|
872
331
|
display: block;
|
|
873
|
-
margin-bottom:
|
|
332
|
+
margin-bottom: var(--space-2);
|
|
874
333
|
}
|
|
875
334
|
|
|
876
335
|
.function-list-item {
|
|
877
336
|
font-size: 0.875rem;
|
|
878
|
-
border-radius:
|
|
337
|
+
border-radius: var(--radius-2);
|
|
879
338
|
margin: 0 0 1px 0;
|
|
880
339
|
cursor: pointer;
|
|
881
340
|
}
|
|
882
341
|
|
|
883
342
|
.function-list-item-label {
|
|
884
343
|
color: light-dark(var(--gray-800), var(--gray-400));
|
|
885
|
-
font-weight: var(--
|
|
344
|
+
font-weight: var(--semibold);
|
|
886
345
|
padding-bottom: var(--m-space-1);
|
|
887
346
|
}
|
|
888
347
|
|
|
@@ -956,7 +415,7 @@ ol[type='content'] li:hover:not(.selected:not(.selected)) {
|
|
|
956
415
|
|
|
957
416
|
& :is(input:not([is='switch']), select, textarea) {
|
|
958
417
|
border: 1px solid light-dark(var(--gray-200), var(--gray-800)) !important;
|
|
959
|
-
border-radius:
|
|
418
|
+
border-radius: var(--radius-2);
|
|
960
419
|
}
|
|
961
420
|
|
|
962
421
|
.cm-activeLine.cm-activeLine {
|
|
@@ -969,8 +428,8 @@ ol[type='content'] li:hover:not(.selected:not(.selected)) {
|
|
|
969
428
|
|
|
970
429
|
.slab-stat,
|
|
971
430
|
.slab-text {
|
|
972
|
-
font-family: var(--
|
|
973
|
-
font-size:
|
|
431
|
+
font-family: var(--mono);
|
|
432
|
+
font-size: 13px;
|
|
974
433
|
}
|
|
975
434
|
|
|
976
435
|
.slab-stat {
|
|
@@ -978,14 +437,14 @@ ol[type='content'] li:hover:not(.selected:not(.selected)) {
|
|
|
978
437
|
}
|
|
979
438
|
|
|
980
439
|
.slab-stat dt {
|
|
981
|
-
font-weight:
|
|
440
|
+
font-weight: var(--regular);
|
|
982
441
|
text-transform: none;
|
|
983
442
|
margin: 0;
|
|
984
443
|
padding: 0;
|
|
985
444
|
}
|
|
986
445
|
|
|
987
446
|
.slab-stat dd {
|
|
988
|
-
font-weight:
|
|
447
|
+
font-weight: var(--bold);
|
|
989
448
|
text-transform: none;
|
|
990
449
|
margin: 0;
|
|
991
450
|
padding: 0;
|
|
@@ -997,7 +456,7 @@ pre {
|
|
|
997
456
|
}
|
|
998
457
|
|
|
999
458
|
time {
|
|
1000
|
-
font-family: var(--
|
|
459
|
+
font-family: var(--mono);
|
|
1001
460
|
}
|
|
1002
461
|
|
|
1003
462
|
/* Default sidebar */
|
|
@@ -1163,8 +622,8 @@ body:has(#nav-toggle:checked) {
|
|
|
1163
622
|
top: var(--m-space-2);
|
|
1164
623
|
right: var(--m-space-3);
|
|
1165
624
|
cursor: pointer;
|
|
1166
|
-
padding:
|
|
1167
|
-
border-radius:
|
|
625
|
+
padding: var(--space-1);
|
|
626
|
+
border-radius: var(--radius-2);
|
|
1168
627
|
background: var(--color-surface-subtle);
|
|
1169
628
|
border: 1px solid var(--color-border-default);
|
|
1170
629
|
}
|