@instacks/peak 0.0.0-stage → 1.0.1

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/tokens.json ADDED
@@ -0,0 +1,717 @@
1
+ {
2
+ "$comment": "Single source for Peak's --peak-* inputs. `npm run tokens` regenerates src/inputs.css and the README table. Ships in the npm package, so editors (sliders, pickers) can generate their controls from it: `label`, `doc`, `min`/`max`/`step`, `options`, and for inputs that are unset by default `toggle` (the label of the checkbox that switches them on) and `start` (the value to start from). Renaming or removing a token is a breaking change (docs/PLAN.md R3).",
3
+ "groups": [
4
+ {
5
+ "title": "Navigation",
6
+ "tokens": {
7
+ "logo-size": {
8
+ "type": "length",
9
+ "unit": "rem",
10
+ "default": 2,
11
+ "min": 1,
12
+ "max": 4,
13
+ "step": 0.0625,
14
+ "label": "Logo size",
15
+ "doc": "Height of the logo image in the site title"
16
+ }
17
+ }
18
+ },
19
+ {
20
+ "title": "Color",
21
+ "tokens": {
22
+ "hue": {
23
+ "type": "number",
24
+ "default": 250,
25
+ "min": 0,
26
+ "max": 360,
27
+ "step": 1,
28
+ "units": "°",
29
+ "label": "Brand hue",
30
+ "doc": "OKLCH hue of the brand color"
31
+ },
32
+ "chroma": {
33
+ "type": "number",
34
+ "default": 0.16,
35
+ "min": 0,
36
+ "max": 0.3,
37
+ "step": 0.005,
38
+ "label": "Brand saturation",
39
+ "doc": "OKLCH chroma of the brand color"
40
+ },
41
+ "brand": {
42
+ "type": "color",
43
+ "default": null,
44
+ "start": "#0067C0",
45
+ "label": "Brand color",
46
+ "toggle": "Use a brand color instead of hue and saturation",
47
+ "doc": "Picker path: takes hue and chroma from any color and overrides the two above. Lightness is still set per scheme"
48
+ },
49
+ "neutral-chroma": {
50
+ "type": "number",
51
+ "default": 0.012,
52
+ "min": 0,
53
+ "max": 0.04,
54
+ "step": 0.001,
55
+ "label": "Neutral tint",
56
+ "doc": "Tints surfaces, text and borders toward the brand hue (or the neutral hue)"
57
+ },
58
+ "neutral-hue": {
59
+ "type": "number",
60
+ "default": null,
61
+ "start": 90,
62
+ "min": 0,
63
+ "max": 360,
64
+ "step": 1,
65
+ "units": "°",
66
+ "label": "Neutral hue",
67
+ "toggle": "Use a separate hue for neutrals",
68
+ "doc": "Hue of the neutral tint (surfaces, text, borders, contrast); unset follows the brand hue"
69
+ },
70
+ "neutral-hue-dark": {
71
+ "type": "number",
72
+ "default": null,
73
+ "start": 240,
74
+ "min": 0,
75
+ "max": 360,
76
+ "step": 1,
77
+ "units": "°",
78
+ "label": "Dark neutral hue",
79
+ "toggle": "Use a separate neutral hue in dark mode",
80
+ "doc": "Hue of the dark scheme's surfaces and borders, e.g. warm paper in light mode and a cool night in dark mode; unset follows the neutral hue"
81
+ },
82
+ "ink-hue": {
83
+ "type": "number",
84
+ "default": null,
85
+ "start": 260,
86
+ "min": 0,
87
+ "max": 360,
88
+ "step": 1,
89
+ "units": "°",
90
+ "label": "Text hue",
91
+ "toggle": "Tint text with a hue of its own",
92
+ "doc": "Hue of text, headings, muted text and the contrast color; unset follows the neutral ramp"
93
+ },
94
+ "ink-chroma": {
95
+ "type": "number",
96
+ "default": 0.012,
97
+ "min": 0,
98
+ "max": 0.04,
99
+ "step": 0.001,
100
+ "label": "Text tint",
101
+ "doc": "OKLCH chroma of text; applies only with `--peak-ink-hue`"
102
+ },
103
+ "secondary-hue": {
104
+ "type": "number",
105
+ "default": null,
106
+ "start": 260,
107
+ "min": 0,
108
+ "max": 360,
109
+ "step": 1,
110
+ "units": "°",
111
+ "label": "Secondary hue",
112
+ "toggle": "Use a separate secondary color",
113
+ "doc": "Makes secondary a color of its own; unset, secondary is the neutral ramp tinted four times as strongly"
114
+ },
115
+ "secondary-chroma": {
116
+ "type": "number",
117
+ "default": 0.05,
118
+ "min": 0,
119
+ "max": 0.3,
120
+ "step": 0.005,
121
+ "label": "Secondary saturation",
122
+ "doc": "OKLCH chroma of the secondary color; applies only with `--peak-secondary-hue`"
123
+ },
124
+ "accent-hue": {
125
+ "type": "number",
126
+ "default": 40,
127
+ "min": 0,
128
+ "max": 360,
129
+ "step": 1,
130
+ "units": "°",
131
+ "label": "Accent hue",
132
+ "doc": "Hue of the accent color, for highlights used sparingly (badges, icons)"
133
+ },
134
+ "accent-chroma": {
135
+ "type": "number",
136
+ "default": 0.18,
137
+ "min": 0,
138
+ "max": 0.25,
139
+ "step": 0.005,
140
+ "label": "Accent saturation",
141
+ "doc": "OKLCH chroma of the accent color"
142
+ },
143
+ "accent-color": {
144
+ "type": "color",
145
+ "default": null,
146
+ "start": "#F2683C",
147
+ "label": "Accent color",
148
+ "toggle": "Use an accent color instead of hue and saturation",
149
+ "doc": "Picker path for the accent, like `--peak-brand`: hue and chroma come from the color (chroma capped at 0.25), lightness is set per use"
150
+ },
151
+ "success-hue": {
152
+ "type": "number",
153
+ "default": 150,
154
+ "min": 0,
155
+ "max": 360,
156
+ "step": 1,
157
+ "units": "°",
158
+ "label": "Success hue",
159
+ "doc": "Valid fields, `<ins>`"
160
+ },
161
+ "warning-hue": {
162
+ "type": "number",
163
+ "default": 80,
164
+ "min": 0,
165
+ "max": 360,
166
+ "step": 1,
167
+ "units": "°",
168
+ "label": "Warning hue",
169
+ "doc": "`<mark>`"
170
+ },
171
+ "danger-hue": {
172
+ "type": "number",
173
+ "default": 27,
174
+ "min": 0,
175
+ "max": 360,
176
+ "step": 1,
177
+ "units": "°",
178
+ "label": "Danger hue",
179
+ "doc": "Invalid fields, `<del>`"
180
+ },
181
+ "info-hue": {
182
+ "type": "number",
183
+ "default": 235,
184
+ "min": 0,
185
+ "max": 360,
186
+ "step": 1,
187
+ "units": "°",
188
+ "label": "Info hue",
189
+ "doc": ""
190
+ },
191
+ "status-chroma": {
192
+ "type": "number",
193
+ "default": 0.15,
194
+ "min": 0,
195
+ "max": 0.25,
196
+ "step": 0.005,
197
+ "label": "Status saturation",
198
+ "doc": "Shared by the four status colors"
199
+ },
200
+ "dark-fills": {
201
+ "type": "flag",
202
+ "default": 0,
203
+ "label": "Deep fills in dark mode",
204
+ "doc": "1: primary and secondary buttons keep the light scheme's deep fill with white text in dark mode, instead of a light fill with dark text"
205
+ }
206
+ }
207
+ },
208
+ {
209
+ "title": "Exact colors",
210
+ "tokens": {
211
+ "bg-light": {
212
+ "type": "color",
213
+ "default": null,
214
+ "start": "#FCFCFD",
215
+ "label": "Page background, light",
216
+ "toggle": "Exact color: page background",
217
+ "doc": "Exact light-scheme color for `--peak-bg`, the page background; outside the contrast guarantee. Unset: derived"
218
+ },
219
+ "bg-dark": {
220
+ "type": "color",
221
+ "default": null,
222
+ "start": "#121417",
223
+ "label": "Page background, dark",
224
+ "doc": "Exact dark-scheme color for `--peak-bg`, the page background; outside the contrast guarantee. Unset: derived"
225
+ },
226
+ "surface-light": {
227
+ "type": "color",
228
+ "default": null,
229
+ "start": "#FFFFFF",
230
+ "label": "Surface, light",
231
+ "toggle": "Exact color: surface",
232
+ "doc": "Exact light-scheme color for `--peak-surface`: cards, inputs, menus; outside the contrast guarantee. Unset: derived"
233
+ },
234
+ "surface-dark": {
235
+ "type": "color",
236
+ "default": null,
237
+ "start": "#1A1D21",
238
+ "label": "Surface, dark",
239
+ "doc": "Exact dark-scheme color for `--peak-surface`: cards, inputs, menus; outside the contrast guarantee. Unset: derived"
240
+ },
241
+ "text-light": {
242
+ "type": "color",
243
+ "default": null,
244
+ "start": "#2B2F36",
245
+ "label": "Text, light",
246
+ "toggle": "Exact color: text",
247
+ "doc": "Exact light-scheme color for `--peak-text`, body text; outside the contrast guarantee. Unset: derived"
248
+ },
249
+ "text-dark": {
250
+ "type": "color",
251
+ "default": null,
252
+ "start": "#E2E4E8",
253
+ "label": "Text, dark",
254
+ "doc": "Exact dark-scheme color for `--peak-text`, body text; outside the contrast guarantee. Unset: derived"
255
+ },
256
+ "heading-light": {
257
+ "type": "color",
258
+ "default": null,
259
+ "start": "#1A1D22",
260
+ "label": "Headings, light",
261
+ "toggle": "Exact color: headings",
262
+ "doc": "Exact light-scheme color for `--peak-heading` and every heading level; outside the contrast guarantee. Unset: derived"
263
+ },
264
+ "heading-dark": {
265
+ "type": "color",
266
+ "default": null,
267
+ "start": "#F1F2F4",
268
+ "label": "Headings, dark",
269
+ "doc": "Exact dark-scheme color for `--peak-heading` and every heading level; outside the contrast guarantee. Unset: derived"
270
+ },
271
+ "muted-light": {
272
+ "type": "color",
273
+ "default": null,
274
+ "start": "#646A73",
275
+ "label": "Muted text, light",
276
+ "toggle": "Exact color: muted text",
277
+ "doc": "Exact light-scheme color for `--peak-muted`: captions, placeholders, hints; outside the contrast guarantee. Unset: derived"
278
+ },
279
+ "muted-dark": {
280
+ "type": "color",
281
+ "default": null,
282
+ "start": "#A0A6AF",
283
+ "label": "Muted text, dark",
284
+ "doc": "Exact dark-scheme color for `--peak-muted`: captions, placeholders, hints; outside the contrast guarantee. Unset: derived"
285
+ },
286
+ "border-light": {
287
+ "type": "color",
288
+ "default": null,
289
+ "start": "#DADDE2",
290
+ "label": "Borders, light",
291
+ "toggle": "Exact color: borders",
292
+ "doc": "Exact light-scheme color for `--peak-border`: rules, card and table borders; outside the contrast guarantee. Unset: derived"
293
+ },
294
+ "border-dark": {
295
+ "type": "color",
296
+ "default": null,
297
+ "start": "#33373D",
298
+ "label": "Borders, dark",
299
+ "doc": "Exact dark-scheme color for `--peak-border`: rules, card and table borders; outside the contrast guarantee. Unset: derived"
300
+ },
301
+ "secondary-fill-light": {
302
+ "type": "color",
303
+ "default": null,
304
+ "start": "#555C68",
305
+ "label": "Secondary fill, light",
306
+ "toggle": "Exact color: secondary fill",
307
+ "doc": "Exact light-scheme color for `--peak-secondary-fill`: secondary buttons; outside the contrast guarantee. Unset: derived"
308
+ },
309
+ "secondary-fill-dark": {
310
+ "type": "color",
311
+ "default": null,
312
+ "start": "#3A4048",
313
+ "label": "Secondary fill, dark",
314
+ "doc": "Exact dark-scheme color for `--peak-secondary-fill`: secondary buttons; outside the contrast guarantee. Unset: derived"
315
+ }
316
+ }
317
+ },
318
+ {
319
+ "title": "Typography",
320
+ "tokens": {
321
+ "font-family": {
322
+ "type": "font",
323
+ "default": null,
324
+ "label": "Font",
325
+ "doc": "Body font stack; unset uses Blades' system stack",
326
+ "options": [
327
+ { "title": "System", "value": "" },
328
+ {
329
+ "title": "Humanist sans",
330
+ "value": "Seravek, \"Gill Sans Nova\", Ubuntu, Calibri, \"DejaVu Sans\", source-sans-pro, sans-serif"
331
+ },
332
+ {
333
+ "title": "Geometric sans",
334
+ "value": "Avenir, Montserrat, Corbel, \"URW Gothic\", source-sans-pro, sans-serif"
335
+ },
336
+ {
337
+ "title": "Transitional serif",
338
+ "value": "Charter, \"Bitstream Charter\", \"Sitka Text\", Cambria, serif"
339
+ },
340
+ {
341
+ "title": "Old-style serif",
342
+ "value": "\"Iowan Old Style\", \"Palatino Linotype\", \"URW Palladio L\", P052, serif"
343
+ },
344
+ {
345
+ "title": "Monospace",
346
+ "value": "ui-monospace, \"Cascadia Code\", \"Source Code Pro\", Menlo, Consolas, \"DejaVu Sans Mono\", monospace"
347
+ }
348
+ ]
349
+ },
350
+ "font-family-heading": {
351
+ "type": "font",
352
+ "default": null,
353
+ "label": "Heading font",
354
+ "doc": "Unset uses `--peak-font-family`",
355
+ "optionsFrom": "font-family",
356
+ "firstOptionTitle": "Same as body"
357
+ },
358
+ "font-family-mono": {
359
+ "type": "font",
360
+ "default": null,
361
+ "label": "Monospace font",
362
+ "doc": "Font stack for code, kbd, pre and samp; unset uses Blades' monospace stack",
363
+ "options": [
364
+ { "title": "System", "value": "" },
365
+ {
366
+ "title": "Code",
367
+ "value": "\"Cascadia Code\", \"Source Code Pro\", \"JetBrains Mono\", ui-monospace, Menlo, Consolas, monospace"
368
+ },
369
+ {
370
+ "title": "Typewriter",
371
+ "value": "\"American Typewriter\", \"Courier Prime\", \"Courier New\", Courier, monospace"
372
+ }
373
+ ]
374
+ },
375
+ "font-size-min": {
376
+ "type": "length",
377
+ "unit": "rem",
378
+ "default": 1,
379
+ "min": 0.875,
380
+ "max": 1.125,
381
+ "step": 0.0625,
382
+ "label": "Text size, small screens",
383
+ "doc": "Lower bound of the fluid root size `0.875rem + 0.5vw`"
384
+ },
385
+ "font-size-max": {
386
+ "type": "length",
387
+ "unit": "rem",
388
+ "default": 1.3125,
389
+ "min": 1,
390
+ "max": 1.5,
391
+ "step": 0.0625,
392
+ "label": "Text size, large screens",
393
+ "doc": "Upper bound of the fluid root size"
394
+ },
395
+ "type-ratio": {
396
+ "type": "number",
397
+ "default": 1.15,
398
+ "min": 1.05,
399
+ "max": 1.5,
400
+ "step": 0.01,
401
+ "label": "Heading scale",
402
+ "doc": "h6 is 1rem, each level up multiplies by this"
403
+ },
404
+ "line-height": {
405
+ "type": "number",
406
+ "default": 1.5,
407
+ "min": 1.2,
408
+ "max": 1.9,
409
+ "step": 0.05,
410
+ "label": "Line height",
411
+ "doc": ""
412
+ },
413
+ "heading-line-height": {
414
+ "type": "number",
415
+ "default": 1.2,
416
+ "min": 1,
417
+ "max": 1.5,
418
+ "step": 0.05,
419
+ "label": "Heading line height",
420
+ "doc": "Line height of `h4`; each level up is 0.025 tighter, each level down 0.025 looser, as in Blades"
421
+ },
422
+ "font-weight": {
423
+ "type": "number",
424
+ "default": 400,
425
+ "min": 300,
426
+ "max": 500,
427
+ "step": 1,
428
+ "label": "Font weight",
429
+ "doc": ""
430
+ },
431
+ "heading-font-weight": {
432
+ "type": "number",
433
+ "default": 700,
434
+ "min": 400,
435
+ "max": 900,
436
+ "step": 1,
437
+ "label": "Heading weight",
438
+ "doc": ""
439
+ },
440
+ "display-weight": {
441
+ "type": "number",
442
+ "default": null,
443
+ "start": 700,
444
+ "min": 300,
445
+ "max": 900,
446
+ "step": 1,
447
+ "label": "H1 weight",
448
+ "toggle": "Use a separate weight for h1 and display text",
449
+ "doc": "Weight of `h1` and `.peak-display`; unset follows `--peak-heading-font-weight`"
450
+ },
451
+ "subheading-font-weight": {
452
+ "type": "number",
453
+ "default": null,
454
+ "start": 600,
455
+ "min": 300,
456
+ "max": 900,
457
+ "step": 1,
458
+ "label": "H4–h6 weight",
459
+ "toggle": "Use a separate weight for h4–h6",
460
+ "doc": "Weight of `h4`–`h6`; unset follows `--peak-heading-font-weight`"
461
+ },
462
+ "heading-tracking": {
463
+ "type": "length",
464
+ "unit": "em",
465
+ "default": 0,
466
+ "min": -0.05,
467
+ "max": 0.05,
468
+ "step": 0.005,
469
+ "label": "Heading letter-spacing",
470
+ "doc": "Letter-spacing of `h2`–`h4` and the site title; `h1` gets 4/3 of it and `.peak-display` 5/3, `h5`/`h6` none"
471
+ },
472
+ "display-size-min": {
473
+ "type": "length",
474
+ "unit": "rem",
475
+ "default": 2.25,
476
+ "min": 1.5,
477
+ "max": 3,
478
+ "step": 0.0625,
479
+ "label": "Display size, small screens",
480
+ "doc": "Lower bound of `.peak-display`'s fluid size `1rem + 4vw`"
481
+ },
482
+ "display-size-max": {
483
+ "type": "length",
484
+ "unit": "rem",
485
+ "default": 3.5,
486
+ "min": 2.5,
487
+ "max": 5,
488
+ "step": 0.0625,
489
+ "label": "Display size, large screens",
490
+ "doc": "Upper bound of `.peak-display`'s fluid size"
491
+ },
492
+ "button-font-weight": {
493
+ "type": "number",
494
+ "default": null,
495
+ "start": 550,
496
+ "min": 300,
497
+ "max": 800,
498
+ "step": 1,
499
+ "label": "Button weight",
500
+ "toggle": "Use a separate weight for buttons",
501
+ "doc": "Weight of buttons; unset follows the body weight"
502
+ },
503
+ "font-smoothing": {
504
+ "type": "keyword",
505
+ "default": "auto",
506
+ "label": "Font smoothing",
507
+ "doc": "`antialiased` renders lighter, thinner text on macOS (WebKit and Chromium)",
508
+ "options": [
509
+ { "title": "System default", "value": "auto" },
510
+ { "title": "Antialiased", "value": "antialiased" }
511
+ ]
512
+ },
513
+ "code-max-height": {
514
+ "type": "length",
515
+ "unit": "rem",
516
+ "default": null,
517
+ "start": 22,
518
+ "min": 10,
519
+ "max": 50,
520
+ "step": 0.0625,
521
+ "label": "Code block height",
522
+ "toggle": "Limit the height of code blocks",
523
+ "doc": "Maximum height of `pre`; taller blocks scroll. Unset: no limit"
524
+ }
525
+ }
526
+ },
527
+ {
528
+ "title": "Spacing and shape",
529
+ "tokens": {
530
+ "spacing": {
531
+ "type": "length",
532
+ "unit": "rem",
533
+ "default": 1,
534
+ "min": 0.5,
535
+ "max": 2,
536
+ "step": 0.125,
537
+ "label": "Spacing",
538
+ "doc": "Base rhythm: block spacing, grid gaps, `--peak-space-*`"
539
+ },
540
+ "section-spacing": {
541
+ "type": "length",
542
+ "unit": "rem",
543
+ "default": null,
544
+ "start": 4,
545
+ "min": 1,
546
+ "max": 8,
547
+ "step": 0.0625,
548
+ "label": "Section spacing",
549
+ "toggle": "Use a separate space between sections",
550
+ "doc": "Space after each `section`; unset follows `--peak-spacing`"
551
+ },
552
+ "density": {
553
+ "type": "number",
554
+ "default": 1,
555
+ "min": 0.75,
556
+ "max": 1.25,
557
+ "step": 0.05,
558
+ "label": "Density",
559
+ "doc": "Multiplies form, nav and text spacing"
560
+ },
561
+ "radius": {
562
+ "type": "length",
563
+ "unit": "rem",
564
+ "default": 0.375,
565
+ "min": 0,
566
+ "max": 1.5,
567
+ "step": 0.0625,
568
+ "label": "Corner radius",
569
+ "doc": ""
570
+ },
571
+ "border-width": {
572
+ "type": "length",
573
+ "unit": "rem",
574
+ "default": 0.0625,
575
+ "min": 0,
576
+ "max": 0.25,
577
+ "step": 0.0625,
578
+ "label": "Border width",
579
+ "doc": ""
580
+ },
581
+ "outline-width": {
582
+ "type": "length",
583
+ "unit": "rem",
584
+ "default": 0.125,
585
+ "min": 0.0625,
586
+ "max": 0.25,
587
+ "step": 0.0625,
588
+ "label": "Focus ring width",
589
+ "doc": ""
590
+ }
591
+ }
592
+ },
593
+ {
594
+ "title": "Layout",
595
+ "tokens": {
596
+ "container-sm": {
597
+ "type": "length",
598
+ "unit": "px",
599
+ "default": 510,
600
+ "min": 360,
601
+ "max": 544,
602
+ "step": 1,
603
+ "label": "Content width ≥ 576px",
604
+ "doc": "`.container` width from the 576px breakpoint"
605
+ },
606
+ "container-md": {
607
+ "type": "length",
608
+ "unit": "px",
609
+ "default": 700,
610
+ "min": 480,
611
+ "max": 736,
612
+ "step": 1,
613
+ "label": "Content width ≥ 768px",
614
+ "doc": ""
615
+ },
616
+ "container-lg": {
617
+ "type": "length",
618
+ "unit": "px",
619
+ "default": 950,
620
+ "min": 640,
621
+ "max": 992,
622
+ "step": 1,
623
+ "label": "Content width ≥ 1024px",
624
+ "doc": ""
625
+ },
626
+ "container-xl": {
627
+ "type": "length",
628
+ "unit": "px",
629
+ "default": 1200,
630
+ "min": 800,
631
+ "max": 1248,
632
+ "step": 1,
633
+ "label": "Content width ≥ 1280px",
634
+ "doc": ""
635
+ },
636
+ "container-2xl": {
637
+ "type": "length",
638
+ "unit": "px",
639
+ "default": 1450,
640
+ "min": 960,
641
+ "max": 1504,
642
+ "step": 1,
643
+ "label": "Content width ≥ 1536px",
644
+ "doc": ""
645
+ },
646
+ "container-max": {
647
+ "type": "length",
648
+ "unit": "px",
649
+ "default": 1450,
650
+ "min": 600,
651
+ "max": 2000,
652
+ "step": 1,
653
+ "label": "Maximum content width",
654
+ "doc": "Caps every breakpoint"
655
+ },
656
+ "measure": {
657
+ "type": "length",
658
+ "unit": "ch",
659
+ "default": 65,
660
+ "min": 40,
661
+ "max": 90,
662
+ "step": 1,
663
+ "label": "Text width",
664
+ "doc": "Maximum line length of `.peak-lead` and other running text"
665
+ },
666
+ "grid-min": {
667
+ "type": "length",
668
+ "unit": "rem",
669
+ "default": 15,
670
+ "min": 8,
671
+ "max": 30,
672
+ "step": 0.0625,
673
+ "label": "Grid column minimum",
674
+ "doc": "Narrowest column of `.peak-grid-auto`, which fits as many columns as there is room for; set it per grid with `style=\"--peak-grid-min: …\"`"
675
+ },
676
+ "sidebar-width": {
677
+ "type": "length",
678
+ "unit": "rem",
679
+ "default": 16,
680
+ "min": 10,
681
+ "max": 24,
682
+ "step": 0.0625,
683
+ "label": "Sidebar width",
684
+ "doc": "Width of the aside in `.peak-with-sidebar` (and the theme's sidebar navigation); set it per layout with `style=\"--peak-sidebar-width: …\"`"
685
+ }
686
+ }
687
+ },
688
+ {
689
+ "title": "Motion",
690
+ "tokens": {
691
+ "duration": {
692
+ "type": "time",
693
+ "unit": "ms",
694
+ "default": 200,
695
+ "min": 0,
696
+ "max": 600,
697
+ "step": 1,
698
+ "label": "Transition duration",
699
+ "doc": "0s under `prefers-reduced-motion: reduce`"
700
+ },
701
+ "easing": {
702
+ "type": "keyword",
703
+ "default": "ease-in-out",
704
+ "label": "Transition easing",
705
+ "doc": "",
706
+ "options": [
707
+ { "title": "Ease in-out", "value": "ease-in-out" },
708
+ { "title": "Ease", "value": "ease" },
709
+ { "title": "Ease out", "value": "ease-out" },
710
+ { "title": "Emphasized", "value": "cubic-bezier(0.2, 0, 0, 1)" },
711
+ { "title": "Linear", "value": "linear" }
712
+ ]
713
+ }
714
+ }
715
+ }
716
+ ]
717
+ }