@scalar/api-client 0.1.13 → 0.1.15

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/dist/style.css CHANGED
@@ -10,15 +10,15 @@
10
10
  max-width: 100%;
11
11
  }
12
12
  .scalar-api-client__codemirror.ͼw {
13
- background-color: var(--scalar-api-client-background-input);
13
+ background-color: var(--theme-background-1);
14
14
  }
15
15
  .scalar-api-client__codemirror--read-only.ͼw {
16
- background-color: var(--scalar-api-client-background-secondary);
16
+ background-color: var(--theme-background-2);
17
17
  }
18
18
 
19
19
  /** URL input */
20
20
  .scalar-api-client__url-input {
21
- font-weight: var(--scalar-api-client-font-semibold);
21
+ font-weight: var(--theme-semibold);
22
22
  }
23
23
  .scalar-api-client__url-input .cm-scroller {
24
24
  padding-left: 6px;
@@ -30,7 +30,7 @@
30
30
  color: var(--scalar-api-client-color);
31
31
  }
32
32
 
33
- .modal-layout[data-v-9bd42c67] {
33
+ .modal-layout[data-v-5579cc4c] {
34
34
  position: fixed;
35
35
  width: 100vw;
36
36
  height: 100vh;
@@ -40,40 +40,40 @@
40
40
  background: rgba(0, 0, 0, 0.44);
41
41
  padding: 20px;
42
42
  opacity: 0;
43
- animation: modal-fade-9bd42c67 0.2s forwards;
43
+ animation: modal-fade-5579cc4c 0.2s forwards;
44
44
  }
45
- .modal-body[data-v-9bd42c67] {
45
+ .modal-body[data-v-5579cc4c] {
46
46
  padding: 24px 12px 18px 24px;
47
47
  max-height: calc(100vh - 240px);
48
- background: var(--scalar-api-client-background-primary);
49
- border-radius: var(--scalar-api-client-rounded);
50
- font-family: var(--scalar-api-client-font-sans);
48
+ background: var(--theme-background-1);
49
+ border-radius: var(--theme-radius-lg);
50
+ font-family: var(--theme-font);
51
51
  }
52
- .modal[data-v-9bd42c67] {
52
+ .modal[data-v-5579cc4c] {
53
53
  margin: 80px auto 0;
54
54
  position: relative;
55
- background: var(--scalar-api-client-theme-background-2);
56
- border-radius: var(--scalar-api-client-rounded);
57
- color: var(--scalar-api-client-text-color-primary);
55
+ background: var(--theme-background-2);
56
+ border-radius: var(--theme-radius-lg);
57
+ color: var(--theme-color-1);
58
58
  width: 100%;
59
59
  text-align: left;
60
60
  line-height: 1.4;
61
61
  opacity: 0;
62
62
  transform: scale(0.98);
63
- animation: modal-pop-9bd42c67 0.15s 0.15s forwards;
63
+ animation: modal-pop-5579cc4c 0.15s 0.15s forwards;
64
64
  display: flex;
65
65
  flex-direction: column;
66
66
  }
67
- .modal-content-large[data-v-9bd42c67] {
67
+ .modal-content-large[data-v-5579cc4c] {
68
68
  max-width: 800px;
69
69
  }
70
- .modal-content-normal[data-v-9bd42c67] {
70
+ .modal-content-normal[data-v-5579cc4c] {
71
71
  max-width: 640px;
72
72
  }
73
- .modal-content-small[data-v-9bd42c67] {
73
+ .modal-content-small[data-v-5579cc4c] {
74
74
  max-width: 480px;
75
75
  }
76
- @keyframes modal-fade-9bd42c67 {
76
+ @keyframes modal-fade-5579cc4c {
77
77
  from {
78
78
  opacity: 0;
79
79
  }
@@ -81,7 +81,7 @@ to {
81
81
  opacity: 1;
82
82
  }
83
83
  }
84
- @keyframes modal-pop-9bd42c67 {
84
+ @keyframes modal-pop-5579cc4c {
85
85
  0% {
86
86
  opacity: 0;
87
87
  }
@@ -90,14 +90,14 @@ to {
90
90
  transform: scale(1);
91
91
  }
92
92
  }
93
- .modal-header[data-v-9bd42c67] {
93
+ .modal-header[data-v-5579cc4c] {
94
94
  padding: 12px 24px;
95
- color: var(--scalar-api-client-text-color-primary);
95
+ color: var(--theme-color-1);
96
96
  font-size: var(--scalar-api-client-theme-font-size-4);
97
97
  text-align: left;
98
98
  font-weight: 600;
99
- border-radius: var(--scalar-api-client-rounded)
100
- var(--scalar-api-client-rounded) 0 0;
99
+ border-radius: var(--theme-radius-lg)
100
+ var(--theme-radius-lg) 0 0;
101
101
  }
102
102
 
103
103
  .navtable-mock {
@@ -105,8 +105,8 @@ to {
105
105
  width: 100%;
106
106
  background-image: linear-gradient(
107
107
  0deg,
108
- var(--scalar-api-client-border-color) 1px,
109
- --scalar-api-client-background-primary 1px
108
+ var(--theme-border-color) 1px,
109
+ --theme-background-1 1px
110
110
  );
111
111
  background-size: 31px 31px;
112
112
  background-position: center 1px;
@@ -154,19 +154,19 @@ to {
154
154
  transform: rotate(45deg) translate3d(-0.5px, -1px, 0);
155
155
  }
156
156
  .radio.post {
157
- background: var(--scalar-api-client-post-color);
157
+ background: var(--theme-post-color);
158
158
  }
159
159
  .radio.delete {
160
- background: var(--scalar-api-client-delete-color);
160
+ background: var(--theme-delete-color);
161
161
  }
162
162
  .radio.patch {
163
- background: var(--scalar-api-client-patch-color);
163
+ background: var(--theme-patch-color);
164
164
  }
165
165
  .radio.get {
166
- background: var(--scalar-api-client-get-color);
166
+ background: var(--theme-get-color);
167
167
  }
168
168
  .radio.put {
169
- background: var(--scalar-api-client-put-color);
169
+ background: var(--theme-put-color);
170
170
  }
171
171
 
172
172
  .scalar-api-client__address-bar {
@@ -175,19 +175,19 @@ to {
175
175
  display: flex;
176
176
  align-items: center;
177
177
  position: relative;
178
- background: var(--scalar-api-client-background-primary);
178
+ background: var(--theme-background-1);
179
179
  }
180
180
  .scalar-api-client__url-form {
181
181
  display: flex;
182
182
  width: 100%;
183
183
  align-items: stretch;
184
- border-radius: var(--scalar-api-client-rounded);
184
+ border-radius: var(--theme-radius-lg);
185
185
  }
186
186
  .scalar-api-client__field {
187
- border: var(--scalar-api-client-border);
187
+ border: 1px solid var(--theme-border-color);
188
188
  border-right: 0;
189
- border-radius: var(--scalar-api-client-rounded) 0 0
190
- var(--scalar-api-client-rounded);
189
+ border-radius: var(--theme-radius-lg) 0 0
190
+ var(--theme-radius-lg);
191
191
  display: flex;
192
192
  align-items: stretch;
193
193
  width: 100%;
@@ -202,18 +202,18 @@ to {
202
202
  .scalar-api-client__request-type {
203
203
  display: flex;
204
204
  align-items: center;
205
- background: var(--scalar-api-client-background-secondary);
206
- color: var(--scalar-api-client-text-color-muted);
205
+ background: var(--theme-background-2);
206
+ color: var(--theme-color-disabled);
207
207
  appearance: none;
208
208
  -webkit-appearance: none;
209
209
  padding: 0 12px;
210
- border-right: var(--scalar-api-client-border);
211
- border-radius: var(--scalar-api-client-rounded) 0 0
212
- var(--scalar-api-client-rounded);
210
+ border-right: 1px solid var(--theme-border-color);
211
+ border-radius: var(--theme-radius-lg) 0 0
212
+ var(--theme-radius-lg);
213
213
  position: relative;
214
214
  }
215
215
  .scalar-api-client__request-type span {
216
- font-family: var(--scalar-api-client-font-mono);
216
+ font-family: var(--theme-font-code);
217
217
  font-size: 500;
218
218
  font-size: 12px;
219
219
  text-transform: uppercase;
@@ -232,7 +232,7 @@ to {
232
232
  font-style: normal;
233
233
  flex-shrink: 0;
234
234
  display: inline-block;
235
- color: var(--scalar-api-client-text-color-muted);
235
+ color: var(--theme-color-disabled);
236
236
  background: var(--scalar-api-client-color);
237
237
  }
238
238
  .meta-request-break {
@@ -242,17 +242,17 @@ to {
242
242
  appearance: none;
243
243
  -webkit-appearance: none;
244
244
  background: transparent;
245
- color: var(--scalar-api-client-text-color-secondary);
245
+ color: var(--theme-color-2);
246
246
  display: flex;
247
247
  align-items: center;
248
- border-radius: var(--scalar-api-client-rounded);
248
+ border-radius: var(--theme-radius-lg);
249
249
  height: 100%;
250
250
  }
251
251
  .scalar-api-client__send-request-button[type='submit'] {
252
- font-size: var(--scalar-api-client-text-xs);
252
+ font-size: var(--theme-micro);
253
253
  letter-spacing: 0.25px;
254
254
  line-height: 30px;
255
- font-weight: var(--scalar-api-client-font-semibold);
255
+ font-weight: var(--theme-semibold);
256
256
  color: white;
257
257
  border: none;
258
258
  white-space: nowrap;
@@ -260,8 +260,8 @@ to {
260
260
  text-transform: uppercase;
261
261
  cursor: pointer;
262
262
  outline: none;
263
- border-radius: 0 var(--scalar-api-client-rounded)
264
- var(--scalar-api-client-rounded) 0;
263
+ border-radius: 0 var(--theme-radius-lg)
264
+ var(--theme-radius-lg) 0;
265
265
  background: var(--scalar-api-client-color);
266
266
  /** #087f5b */
267
267
  display: flex;
@@ -309,42 +309,42 @@ to {
309
309
  .scalar-api-client__history-toggle {
310
310
  padding: 0 9px;
311
311
  line-height: 30px;
312
- color: var(--scalar-api-client-text-color-muted);
313
- font-size: var(--scalar-api-client-text-xs);
312
+ color: var(--theme-color-disabled);
313
+ font-size: var(--theme-micro);
314
314
  letter-spacing: 0.125px;
315
- font-weight: var(--scalar-api-client-font-semibold);
315
+ font-weight: var(--theme-semibold);
316
316
  text-transform: uppercase;
317
317
  height: 100%;
318
318
  display: flex;
319
319
  align-items: center;
320
320
  cursor: pointer;
321
321
  white-space: nowrap;
322
- border: var(--scalar-api-client-border);
322
+ border: 1px solid var(--theme-border-color);
323
323
  margin-left: 12px;
324
- border-radius: var(--scalar-api-client-rounded);
324
+ border-radius: var(--theme-radius-lg);
325
325
  }
326
326
  .scalar-api-client__history-toggle:hover {
327
- background: var(--scalar-api-client-background-secondary);
327
+ background: var(--theme-background-2);
328
328
  }
329
329
  .scalar-api-client__history-toggle svg {
330
330
  height: 13px;
331
331
  width: 13px;
332
332
  margin-right: 6px;
333
- color: var(--scalar-api-client-text-color-muted);
333
+ color: var(--theme-color-disabled);
334
334
  }
335
335
  .scalar-api-client__address-bar-close {
336
- fill: var(--scalar-api-client-text-color-muted);
336
+ fill: var(--theme-color-disabled);
337
337
  margin-left: 12px;
338
338
  height: 24px;
339
339
  }
340
340
  .scalar-api-client__address-bar-close:hover {
341
341
  cursor: pointer;
342
- fill: var(--scalar-api-client-text-color-primary);
342
+ fill: var(--theme-color-1);
343
343
  }
344
344
  .scalar-api-client__address-bar__content {
345
345
  width: 640px;
346
346
  height: 100%;
347
- background: var(--scalar-api-client-background-primary);
347
+ background: var(--theme-background-1);
348
348
  position: fixed;
349
349
  top: 0;
350
350
  right: 0;
@@ -375,18 +375,18 @@ to {
375
375
  cursor: pointer;
376
376
  }
377
377
  .scalar-api-client__address-bar .navtable-item__active {
378
- background: var(--scalar-api-client-background-secondary);
378
+ background: var(--theme-background-2);
379
379
  cursor: default;
380
380
  }
381
381
  .scalar-api-client__address-bar .navtable-item__active .radio:before {
382
382
  display: none;
383
383
  }
384
384
  .navigation-back {
385
- stroke: var(--scalar-api-client-text-color-secondary);
385
+ stroke: var(--theme-color-2);
386
386
  cursor: pointer;
387
387
  }
388
388
  .navigation-back:hover {
389
- stroke: var(--scalar-api-client-text-color-primary);
389
+ stroke: var(--theme-color-1);
390
390
  }
391
391
  .scalar-api-client__address-bar__close {
392
392
  width: 100%;
@@ -406,7 +406,7 @@ to {
406
406
  border: none;
407
407
  outline: none;
408
408
  font-size: 12px;
409
- color: var(--scalar-api-client-text-color-primary);
409
+ color: var(--theme-color-1);
410
410
  width: 100%;
411
411
  display: block;
412
412
  overflow: hidden;
@@ -416,15 +416,15 @@ to {
416
416
  .navtable-item-request span em {
417
417
  text-transform: uppercase;
418
418
  font-style: normal;
419
- font-family: var(--scalar-api-client-font-mono);
419
+ font-family: var(--theme-font-code);
420
420
  font-size: 11px;
421
421
  margin-right: 6px;
422
- font-weight: var(--scalar-api-client-font-bold);
423
- color: var(--scalar-api-client-text-color-muted);
422
+ font-weight: var(--theme-bold);
423
+ color: var(--theme-color-disabled);
424
424
  }
425
425
  .navtable-item-time {
426
426
  font-size: 12px;
427
- color: var(--scalar-api-client-text-color-primary);
427
+ color: var(--theme-color-1);
428
428
  text-transform: capitalize;
429
429
  padding: 0 9px;
430
430
  }
@@ -445,9 +445,9 @@ to {
445
445
  }
446
446
 
447
447
  .scalar-api-client__item {
448
- border-radius: var(--scalar-api-client-rounded);
448
+ border-radius: var(--theme-radius-lg);
449
449
  margin-bottom: 6px;
450
- background: var(--scalar-api-client-background-secondary);
450
+ background: var(--theme-background-2);
451
451
  box-shadow: var(--shadow1);
452
452
  position: relative;
453
453
  }
@@ -458,7 +458,7 @@ to {
458
458
  cursor: pointer;
459
459
  }
460
460
  .scalar-api-client__item--open {
461
- background: var(--scalar-api-client-background-secondary);
461
+ background: var(--theme-background-2);
462
462
  }
463
463
  .scalar-api-client__item--open:focus-within {
464
464
  box-shadow: var(--shadow1);
@@ -482,9 +482,9 @@ to {
482
482
  width: 100%;
483
483
  }
484
484
  .scalar-api-client__item .scalar-api-client__item__title {
485
- color: var(--scalar-api-client-text-color-primary);
486
- font-size: var(--scalar-api-client-text-sm);
487
- font-weight: var(--scalar-api-client-font-bold);
485
+ color: var(--theme-color-1);
486
+ font-size: var(--theme-small);
487
+ font-weight: var(--theme-bold);
488
488
  user-select: none;
489
489
  flex: 1;
490
490
  }
@@ -500,19 +500,19 @@ to {
500
500
  .scalar-api-client__item .scalar-api-client__toggle__icon {
501
501
  width: 10px;
502
502
  margin-right: 6px;
503
- color: var(--scalar-api-client-text-color-primary);
503
+ color: var(--theme-color-1);
504
504
  }
505
505
  .scalar-api-client__item__options {
506
506
  position: relative;
507
507
  }
508
508
  .scalar-api-client__item__options span {
509
- background: var(--scalar-api-client-background-muted);
509
+ background: var(--theme-background-3);
510
510
  padding: 2px 6px;
511
511
  border-radius: 3px;
512
512
  font-size: 12px;
513
513
  pointer-events: none;
514
- color: var(--scalar-api-client-text-color-secondary);
515
- border: var(--scalar-api-client-border);
514
+ color: var(--theme-color-2);
515
+ border: 1px solid var(--theme-border-color);
516
516
  display: flex;
517
517
  align-items: center;
518
518
  justify-content: center;
@@ -533,19 +533,19 @@ to {
533
533
  }
534
534
 
535
535
  .table {
536
- border: var(--scalar-api-client-border);
536
+ border: 1px solid var(--theme-border-color);
537
537
  background: transparent;
538
- border-radius: var(--scalar-api-client-rounded);
538
+ border-radius: var(--theme-radius-lg);
539
539
  width: 100%;
540
540
  }
541
541
  .table-row {
542
- border-bottom: var(--scalar-api-client-border);
542
+ border-bottom: 1px solid var(--theme-border-color);
543
543
  display: flex;
544
544
  position: relative;
545
545
  }
546
546
  .table-row__add {
547
- border-radius: 0 0 var(--scalar-api-client-rounded)
548
- var(--scalar-api-client-rounded);
547
+ border-radius: 0 0 var(--theme-radius-lg)
548
+ var(--theme-radius-lg);
549
549
  border-bottom: none;
550
550
  }
551
551
  .table-row.required-parameter .table-row-item:nth-of-type(2):after {
@@ -554,10 +554,10 @@ to {
554
554
  top: 4px;
555
555
  right: 0;
556
556
  padding: 5px 9px 5px 6px;
557
- font-weight: var(--scalar-api-client-font-semibold);
557
+ font-weight: var(--theme-semibold);
558
558
  font-size: 12px;
559
- background: var(--scalar-api-client-background-secondary);
560
- box-shadow: -2px 0 4px var(--scalar-api-client-background-secondary);
559
+ background: var(--theme-background-2);
560
+ box-shadow: -2px 0 4px var(--theme-background-2);
561
561
  }
562
562
  .table-row.required-parameter
563
563
  .table-row-item:nth-of-type(2):focus-within:after {
@@ -567,39 +567,39 @@ to {
567
567
  border-bottom: none;
568
568
  }
569
569
  .table-row__active {
570
- border-radius: 0 0 var(--scalar-api-client-rounded)
571
- var(--scalar-api-client-rounded);
570
+ border-radius: 0 0 var(--theme-radius-lg)
571
+ var(--theme-radius-lg);
572
572
  }
573
573
  .table-row-drag {
574
574
  width: 20px;
575
575
  flex-shrink: 0;
576
- border-right: var(--scalar-api-client-border);
576
+ border-right: 1px solid var(--theme-border-color);
577
577
  align-items: center;
578
578
  justify-content: center;
579
579
  display: none;
580
580
  }
581
581
  .table-row-drag svg {
582
582
  width: 6px;
583
- fill: var(--scalar-api-client-text-color-muted);
583
+ fill: var(--theme-color-disabled);
584
584
  }
585
585
  .table-row-drag .table-row-drag-add {
586
586
  width: 8px;
587
587
  }
588
588
  .table-row-item {
589
589
  width: 100%;
590
- border-right: var(--scalar-api-client-border);
590
+ border-right: 1px solid var(--theme-border-color);
591
591
  position: relative;
592
592
  }
593
593
  .table-row-item-menu {
594
594
  position: absolute;
595
595
  right: 12px;
596
- background: var(--scalar-api-client-background-muted);
597
- border: var(--scalar-api-client-border);
596
+ background: var(--theme-background-3);
597
+ border: 1px solid var(--theme-border-color);
598
598
  width: 24px;
599
599
  height: 24px;
600
600
  top: 50%;
601
601
  transform: translate3d(0, -50%, 0);
602
- border-radius: var(--scalar-api-client-rounded);
602
+ border-radius: var(--theme-radius-lg);
603
603
  display: flex;
604
604
  align-items: center;
605
605
  justify-content: center;
@@ -613,7 +613,7 @@ to {
613
613
  .table-row-item-menu svg {
614
614
  height: 12px;
615
615
  width: initial;
616
- fill: var(--scalar-api-client-text-color-muted);
616
+ fill: var(--theme-color-disabled);
617
617
  }
618
618
  .table-row-item input {
619
619
  border: none;
@@ -621,23 +621,23 @@ to {
621
621
  outline: none;
622
622
  padding: 9px;
623
623
  width: 100%;
624
- color: var(--scalar-api-client-text-color-primary);
624
+ color: var(--theme-color-1);
625
625
  font-size: 12px;
626
626
  }
627
627
  .table-row-item input[disabled] {
628
628
  background: transparent;
629
- font-family: var(--scalar-api-client-font-mono);
629
+ font-family: var(--theme-font-code);
630
630
  }
631
631
  .table-row-item input:focus {
632
- background: var(--scalar-api-client-background-secondary);
632
+ background: var(--theme-background-2);
633
633
  }
634
634
  .table-row-item label {
635
635
  background: transparent;
636
636
  text-transform: uppercase;
637
637
  display: block;
638
638
  padding: 9px;
639
- font-weight: var(--scalar-api-client-font-bold);
640
- color: var(--scalar-api-client-text-color-muted);
639
+ font-weight: var(--theme-bold);
640
+ color: var(--theme-color-disabled);
641
641
  font-size: 12px;
642
642
  }
643
643
  .table-row-meta {
@@ -653,18 +653,18 @@ to {
653
653
  .table-row-meta-check {
654
654
  width: 18px;
655
655
  height: 18px;
656
- border-radius: var(--scalar-api-client-rounded);
656
+ border-radius: var(--theme-radius-lg);
657
657
  background: rgba(47, 177, 228, 0.1);
658
658
  }
659
659
  .table-row-meta svg {
660
660
  width: 13px;
661
661
  height: 13px;
662
662
  margin: 0 1px;
663
- color: var(--scalar-api-client-text-color-muted);
663
+ color: var(--theme-color-disabled);
664
664
  cursor: pointer;
665
665
  }
666
666
  .table-row-meta svg:hover {
667
- color: var(--scalar-api-client-text-color-secondary);
667
+ color: var(--theme-color-2);
668
668
  }
669
669
  .meta-check {
670
670
  display: flex;
@@ -672,7 +672,7 @@ to {
672
672
  cursor: pointer;
673
673
  align-items: center;
674
674
  font-size: 12px;
675
- border-radius: var(--scalar-api-client-rounded);
675
+ border-radius: var(--theme-radius-lg);
676
676
  user-select: none;
677
677
  margin: 0 1px;
678
678
  transition: all 0.15s ease-in-out;
@@ -687,7 +687,7 @@ to {
687
687
  .meta-checkmark {
688
688
  height: 15px;
689
689
  width: 15px;
690
- background: var(--scalar-api-client-background-input);
690
+ background: var(--theme-background-1);
691
691
  border-radius: 3px;
692
692
  display: flex;
693
693
  align-items: center;
@@ -699,7 +699,7 @@ to {
699
699
  display: none;
700
700
  width: 5px;
701
701
  height: 8px;
702
- border: solid var(--scalar-api-client-text-color-primary);
702
+ border: solid var(--theme-color-1);
703
703
  border-width: 0 1.5px 1.5px 0;
704
704
  transform: rotate(45deg) translate3d(0, -1px, 0);
705
705
  }
@@ -733,7 +733,7 @@ to {
733
733
  background-color: black;
734
734
  }
735
735
  .navtable-follow * {
736
- font-family: var(--scalar-api-client-font-mono) !important;
736
+ font-family: var(--theme-font-code) !important;
737
737
  }
738
738
  .navtable-table {
739
739
  position: relative;
@@ -744,20 +744,20 @@ to {
744
744
  .navtable-item {
745
745
  display: flex;
746
746
  position: relative;
747
- color: var(--scalar-api-client-text-color-primary);
748
- border-top: var(--scalar-api-client-border);
749
- font-weight: var(--scalar-api-client-font-semibold);
747
+ color: var(--theme-color-1);
748
+ border-top: 1px solid var(--theme-border-color);
749
+ font-weight: var(--theme-semibold);
750
750
  }
751
751
  .navtable-item > div {
752
752
  word-wrap: break-word;
753
753
  }
754
754
  .navtable-item > div:not(:first-child) {
755
- border-left: var(--scalar-api-client-border);
755
+ border-left: 1px solid var(--theme-border-color);
756
756
  }
757
757
  .navtable-item-action {
758
- color: var(--scalar-api-client-text-color-secondary);
758
+ color: var(--theme-color-2);
759
759
  font-size: 12px;
760
- font-weight: var(--scalar-api-client-font-bold);
760
+ font-weight: var(--theme-bold);
761
761
  background: var(--scalar-api-client-bg3);
762
762
  border: none;
763
763
  border-radius: 30px;
@@ -774,12 +774,12 @@ to {
774
774
  position: relative;
775
775
  }
776
776
  .navtable-item-action:hover {
777
- color: var(--scalar-api-client-text-color-primary);
777
+ color: var(--theme-color-1);
778
778
  background: var(--scalar-api-client-gradient);
779
- box-shadow: 0 0 0 1px var(--scalar-api-client-border-color);
779
+ box-shadow: 0 0 0 1px var(--theme-border-color);
780
780
  }
781
781
  .navtable-item-action:focus {
782
- background: var(--scalar-api-client-background-secondary);
782
+ background: var(--theme-background-2);
783
783
  }
784
784
  .navtable-item:hover,
785
785
  .navtable-item:focus-within .navtable-item-action {
@@ -789,15 +789,15 @@ to {
789
789
  display: flex;
790
790
  align-items: center;
791
791
  padding: 9px;
792
- font-weight: var(--scalar-api-client-font-bold);
792
+ font-weight: var(--theme-bold);
793
793
  outline: none;
794
794
  border: none;
795
795
  appearance: none;
796
796
  background: transparent;
797
- color: var(--scalar-api-client-text-color-primary);
797
+ color: var(--theme-color-1);
798
798
  }
799
799
  .navtable-item-add:hover {
800
- background: var(--scalar-api-client-background-secondary);
800
+ background: var(--theme-background-2);
801
801
  cursor: pointer;
802
802
  }
803
803
  .navtable-item-25 {
@@ -824,7 +824,7 @@ to {
824
824
  align-items: center;
825
825
  }
826
826
  .navtable-item-75:focus-within {
827
- background: var(--scalar-api-client-background-secondary);
827
+ background: var(--theme-background-2);
828
828
  }
829
829
  .navtable-item-40 {
830
830
  width: 40%;
@@ -842,7 +842,7 @@ to {
842
842
  align-items: center;
843
843
  }
844
844
  .navtable-item-50:focus-within {
845
- background: var(--scalar-api-client-background-secondary);
845
+ background: var(--theme-background-2);
846
846
  }
847
847
  .navtable-item p {
848
848
  padding: 9px;
@@ -853,12 +853,12 @@ to {
853
853
  outline: none;
854
854
  appearance: none;
855
855
  font-size: 12px;
856
- color: var(--scalar-api-client-text-color-primary);
856
+ color: var(--theme-color-1);
857
857
  background: transparent;
858
858
  width: 100%;
859
859
  }
860
860
  .navtable-item input:focus {
861
- background: var(--scalar-api-client-background-secondary);
861
+ background: var(--theme-background-2);
862
862
  }
863
863
  .navtable-item-select {
864
864
  position: relative;
@@ -874,12 +874,12 @@ to {
874
874
  top: 0;
875
875
  position: relative;
876
876
  cursor: pointer;
877
- color: var(--scalar-api-client-text-color-secondary);
877
+ color: var(--theme-color-2);
878
878
  }
879
879
  .navtable-item-select svg {
880
880
  position: absolute;
881
881
  right: 6px;
882
- color: var(--scalar-api-client-fill-icon);
882
+ color: var(--theme-color-ghost);
883
883
  width: 6px;
884
884
  top: 12px;
885
885
  pointer-events: none;
@@ -887,13 +887,13 @@ to {
887
887
  .navtable-item .option {
888
888
  padding: 12px 6px;
889
889
  font-size: 12px;
890
- color: var(--scalar-api-client-text-color-primary);
890
+ color: var(--theme-color-1);
891
891
  width: 100%;
892
892
  }
893
893
  .navtable-item label {
894
- color: var(--scalar-api-client-text-color-muted);
894
+ color: var(--theme-color-disabled);
895
895
  font-size: 12px;
896
- font-weight: var(--scalar-api-client-font-bold);
896
+ font-weight: var(--theme-bold);
897
897
  text-transform: uppercase;
898
898
  padding: 9px;
899
899
  display: block;
@@ -920,7 +920,7 @@ to {
920
920
  height: 12px;
921
921
  border-radius: 50%;
922
922
  margin-right: 4px;
923
- background: var(--scalar-api-client-background-secondary);
923
+ background: var(--theme-background-2);
924
924
  }
925
925
  .scalar-api-client__status--2xx:before {
926
926
  background: green;
@@ -947,8 +947,8 @@ to {
947
947
 
948
948
  .scalar-api-client__main__left {
949
949
  width: 50%;
950
- border-right: var(--scalar-api-client-border);
951
- padding: 0 12px 12px 12px;
950
+ border-right: 1px solid var(--theme-border-color);
951
+ padding: 0 0 12px 12px;
952
952
  }
953
953
  @media screen and (max-width: 820px) {
954
954
  .scalar-api-client__main__left {
@@ -960,14 +960,14 @@ to {
960
960
  flex-flow: wrap;
961
961
  padding: 0 12px 12px;
962
962
  border-radius: 3px;
963
- color: var(--scalar-api-client-text-color-muted);
963
+ color: var(--theme-color-disabled);
964
964
  font-size: 12px;
965
965
  margin-top: -3px;
966
966
  justify-content: space-between;
967
967
  }
968
968
  .scalar-api-client__item__content .cm-s-default {
969
- border: var(--scalar-api-client-border);
970
- border-radius: var(--scalar-api-client-rounded);
969
+ border: 1px solid var(--theme-border-color);
970
+ border-radius: var(--theme-radius-lg);
971
971
  }
972
972
  .scalar-api-client__item__content .scalar-api-client__item__content--code {
973
973
  width: 100%;
@@ -975,7 +975,7 @@ to {
975
975
  overflow: auto;
976
976
  }
977
977
  .scalar-api-client__item__content .cm-scroller {
978
- border: var(--scalar-api-client-border);
978
+ border: 1px solid var(--theme-border-color);
979
979
  border-radius: 3px;
980
980
  }
981
981
  .scalar-api-client__item__content .cm-editor {
@@ -991,7 +991,7 @@ to {
991
991
  font-size: 11px;
992
992
  }
993
993
  .scalar-api-client__item__content .cm-editor .cm-line {
994
- color: var(--scalar-api-client-text-color-primary);
994
+ color: var(--theme-color-1);
995
995
  }
996
996
  .scalar-api-client__item__content-button {
997
997
  width: 100%;
@@ -1001,10 +1001,10 @@ to {
1001
1001
  font-size: 12px;
1002
1002
  background: var(--scalar-api-client-color) !important;
1003
1003
  text-align: center;
1004
- font-weight: var(--scalar-api-client-font-bold);
1004
+ font-weight: var(--theme-bold);
1005
1005
  padding: 12px;
1006
1006
  text-transform: uppercase;
1007
- border-radius: var(--scalar-api-client-rounded);
1007
+ border-radius: var(--theme-radius-lg);
1008
1008
  color: white;
1009
1009
  cursor: pointer;
1010
1010
  }
@@ -1014,26 +1014,9 @@ to {
1014
1014
  .scalar-collapsible-section-flex {
1015
1015
  width: 100%;
1016
1016
  }
1017
- .scalar-collapsible-section-option {
1018
- font-size: var(--scalar-api-client-text-sm);
1019
- font-weight: var(--scalar-api-client-font-bold);
1020
- color: var(--scalar-api-client-color2);
1021
- background: var(--scalar-api-client-bg3);
1022
- border-radius: 30px;
1023
- display: inline-block;
1024
- padding: 8px 12px;
1025
- cursor: pointer;
1026
- margin: 0 4px 8px;
1027
- user-select: none;
1028
- }
1029
- .scalar-collapsible-section-option:hover {
1030
- box-shadow: 0 0 0 1px var(--scalar-api-client-border-color);
1031
- background: var(--scalar-api-client-gradient);
1032
- color: var(--scalar-api-client-text-color-primary);
1033
- }
1034
1017
  .input {
1035
- background: var(--scalar-api-client-background-secondary);
1036
- border: var(--scalar-api-client-border);
1018
+ background: var(--theme-background-2);
1019
+ border: 1px solid var(--theme-border-color);
1037
1020
  border-radius: 3px;
1038
1021
  position: relative;
1039
1022
  width: 100%;
@@ -1044,7 +1027,7 @@ to {
1044
1027
  width: calc(50% - 3px);
1045
1028
  }
1046
1029
  .input:focus-within {
1047
- background: var(--scalar-api-client-background-muted);
1030
+ background: var(--theme-background-3);
1048
1031
  }
1049
1032
  .input label,
1050
1033
  .input input {
@@ -1052,7 +1035,7 @@ to {
1052
1035
  border: 0;
1053
1036
  outline: none;
1054
1037
  font-size: 12px;
1055
- color: var(--scalar-api-client-text-color-primary);
1038
+ color: var(--theme-color-1);
1056
1039
  width: 100%;
1057
1040
  background: transparent;
1058
1041
  appearance: none;
@@ -1061,7 +1044,7 @@ to {
1061
1044
  }
1062
1045
  .input label {
1063
1046
  position: absolute;
1064
- color: var(--scalar-api-client-text-color-secondary);
1047
+ color: var(--theme-color-2);
1065
1048
  }
1066
1049
  .input input {
1067
1050
  opacity: 0;
@@ -1077,38 +1060,38 @@ to {
1077
1060
  .input:focus-within label {
1078
1061
  font-size: 10px;
1079
1062
  top: -6px;
1080
- color: var(--scalar-api-client-text-color-primary);
1063
+ color: var(--theme-color-1);
1081
1064
  }
1082
1065
  .input input:not(:placeholder-shown) + label {
1083
- color: var(--scalar-api-client-text-color-secondary);
1066
+ color: var(--theme-color-2);
1084
1067
  }
1085
1068
  .select {
1086
- background: --scalar-api-client-background-primary;
1087
- border-radius: var(--scalar-api-client-rounded);
1069
+ background: --theme-background-1;
1070
+ border-radius: var(--theme-radius-lg);
1088
1071
  font-size: 12px;
1089
- border: var(--scalar-api-client-border);
1072
+ border: 1px solid var(--theme-border-color);
1090
1073
  width: 100%;
1091
1074
  position: relative;
1092
1075
  margin-bottom: 6px;
1093
1076
  }
1094
1077
  .select:focus-within {
1095
- background: var(--scalar-api-client-background-muted);
1078
+ background: var(--theme-background-3);
1096
1079
  }
1097
1080
  .select:hover {
1098
- background: var(--scalar-api-client-background-muted);
1081
+ background: var(--theme-background-3);
1099
1082
  }
1100
1083
  .select svg {
1101
1084
  position: absolute;
1102
1085
  right: 12px;
1103
1086
  pointer-events: none;
1104
- color: var(--scalar-api-client-text-color-secondary);
1087
+ color: var(--theme-color-2);
1105
1088
  width: 6px;
1106
1089
  top: 10px;
1107
1090
  }
1108
1091
  .select label {
1109
1092
  display: block;
1110
1093
  font-size: 10px;
1111
- color: var(--scalar-api-client-text-color-secondary);
1094
+ color: var(--theme-color-2);
1112
1095
  position: absolute;
1113
1096
  left: 12px;
1114
1097
  top: 6px;
@@ -1119,7 +1102,7 @@ to {
1119
1102
  border: none;
1120
1103
  -webkit-appearance: none;
1121
1104
  font-size: 12px;
1122
- color: var(--scalar-api-client-text-color-primary);
1105
+ color: var(--theme-color-1);
1123
1106
  appearance: none;
1124
1107
  width: 100%;
1125
1108
  padding: 18px 12px 6px 12px;
@@ -1133,14 +1116,14 @@ to {
1133
1116
  cursor: pointer;
1134
1117
  align-items: center;
1135
1118
  font-size: 12px;
1136
- border: var(--scalar-api-client-border);
1119
+ border: 1px solid var(--theme-border-color);
1137
1120
  border-radius: 3px;
1138
1121
  padding: 10px 12px;
1139
1122
  user-select: none;
1140
1123
  width: 100%;
1141
1124
  }
1142
1125
  .check p {
1143
- color: var(--scalar-api-client-text-color-secondary);
1126
+ color: var(--theme-color-2);
1144
1127
  }
1145
1128
  .check input {
1146
1129
  position: absolute;
@@ -1152,7 +1135,7 @@ to {
1152
1135
  .checkmark {
1153
1136
  height: 15px;
1154
1137
  width: 15px;
1155
- background: var(--scalar-api-client-background-muted);
1138
+ background: var(--theme-background-3);
1156
1139
  margin-right: 10px;
1157
1140
  border-radius: 3px;
1158
1141
  display: flex;
@@ -1161,14 +1144,14 @@ to {
1161
1144
  position: relative;
1162
1145
  }
1163
1146
  .check input:checked ~ p {
1164
- color: var(--scalar-api-client-text-color-primary);
1147
+ color: var(--theme-color-1);
1165
1148
  }
1166
1149
  .check .checkmark:after {
1167
1150
  content: '';
1168
1151
  display: none;
1169
1152
  width: 5px;
1170
1153
  height: 8px;
1171
- border: solid var(--scalar-api-client-text-color-muted);
1154
+ border: solid var(--theme-color-disabled);
1172
1155
  border-width: 0 2px 2px 0;
1173
1156
  transform: rotate(45deg) translate3d(0, -1px, 0);
1174
1157
  }
@@ -1183,26 +1166,26 @@ to {
1183
1166
  border: none;
1184
1167
  appearance: none;
1185
1168
  -webkit-appearance: none;
1186
- color: var(--scalar-api-client-text-color-muted);
1187
- border-radius: var(--scalar-api-client-rounded);
1188
- font-size: var(--scalar-api-client-text-xs);
1189
- font-weight: var(--scalar-api-client-font-bold);
1169
+ color: var(--theme-color-disabled);
1170
+ border-radius: var(--theme-radius-lg);
1171
+ font-size: var(--theme-micro);
1172
+ font-weight: var(--theme-bold);
1190
1173
  width: 100%;
1191
1174
  background: transparent;
1192
1175
  }
1193
1176
 
1194
- a[data-v-84d41168] {
1177
+ a[data-v-7a2c7da8] {
1195
1178
  text-decoration: underline;
1196
- text-decoration-color: var(--scalar-api-client-border-color);
1179
+ text-decoration-color: var(--theme-border-color);
1197
1180
  text-underline-offset: 2px;
1198
1181
  cursor: help;
1199
1182
  }
1200
1183
 
1201
1184
  .simple-cell {
1202
- border-right: var(--scalar-api-client-border);
1185
+ border-right: 1px solid var(--theme-border-color);
1203
1186
  position: relative;
1204
1187
  padding: 0.75em;
1205
- color: var(--scalar-api-client-text-color-primary);
1188
+ color: var(--theme-color-1);
1206
1189
  white-space: nowrap;
1207
1190
  }
1208
1191
  .simple-cell:last-of-type {
@@ -1212,20 +1195,20 @@ a[data-v-84d41168] {
1212
1195
  white-space: normal;
1213
1196
  }
1214
1197
  .simple-cell.strong {
1215
- font-weight: var(--scalar-api-client-font-semibold);
1198
+ font-weight: var(--theme-semibold);
1216
1199
  }
1217
1200
 
1218
1201
  .simple-header {
1219
- color: var(--scalar-api-client-text-color-muted);
1220
- font-weight: var(--scalar-api-client-font-bold);
1202
+ color: var(--theme-color-disabled);
1203
+ font-weight: var(--theme-bold);
1221
1204
  text-transform: uppercase;
1222
1205
  }
1223
1206
 
1224
1207
  .simple-row {
1225
- border-top: var(--scalar-api-client-border);
1208
+ border-top: 1px solid var(--theme-border-color);
1226
1209
  }
1227
1210
  .simple-row:last-of-type {
1228
- border-bottom: var(--scalar-api-client-border);
1211
+ border-bottom: 1px solid var(--theme-border-color);
1229
1212
  }
1230
1213
 
1231
1214
  .simple-table {
@@ -1236,7 +1219,7 @@ a[data-v-84d41168] {
1236
1219
 
1237
1220
  .scalar-api-client__main__right {
1238
1221
  width: 50%;
1239
- padding: 0 12px 12px 12px;
1222
+ padding: 0 0 12px 12px;
1240
1223
  }
1241
1224
  @media screen and (max-width: 820px) {
1242
1225
  .scalar-api-client__main__right {
@@ -1249,65 +1232,170 @@ a[data-v-84d41168] {
1249
1232
  top: 6px;
1250
1233
  right: 12px;
1251
1234
  }
1235
+ /* fonts */
1252
1236
  :root {
1253
- /** Colors */
1254
- --scalar-api-client-background-primary: #fff;
1255
- --scalar-api-client-background-secondary: #f6f6f6;
1256
- --scalar-api-client-background-input: #fff;
1257
- --scalar-api-client-background-muted: #e7e7e7;
1258
- --scalar-api-client-border-color: #dee2e6;
1259
- --scalar-api-client-fill-icon: #212529;
1260
-
1261
- /** Borders */
1262
- --scalar-api-client-border: 1px solid #dee2e6;
1263
- --scalar-api-client-rounded: 4px;
1264
-
1265
- /** Fonts */
1266
- --scalar-api-client-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
1267
- Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
1268
- --scalar-api-client-font-mono: 'JetBrains Mono';
1269
-
1270
- /** Font weights */
1271
- --scalar-api-client-font-semibold: 600;
1272
- --scalar-api-client-font-bold: 700;
1273
-
1274
- /** Font colors */
1275
- --scalar-api-client-text-color-primary: #343a40;
1276
- --scalar-api-client-text-color-secondary: #868e96;
1277
- --scalar-api-client-text-color-muted: #868e96;
1278
-
1279
- /** Font sizes */
1280
- --scalar-api-client-text-xs: 12px;
1281
- --scalar-api-client-text-sm: 14px;
1282
- --scalar-api-client-text-base: 16px;
1283
- --scalar-api-client-text-lg: 18px;
1284
-
1285
- /** Request method colors */
1286
- --scalar-api-client-post-color: #00a67d;
1287
- --scalar-api-client-post-background: #00a67d1a;
1288
- --scalar-api-client-delete-color: #ef0006;
1289
- --scalar-api-client-delete-background: #ef00061a;
1290
- --scalar-api-client-patch-color: #b2b062;
1291
- --scalar-api-client-patch-background: #ffe6001a;
1292
- --scalar-api-client-get-color: #0082d0;
1293
- --scalar-api-client-get-background: #0082d01a;
1294
- --scalar-api-client-put-color: #f3830e;
1295
- --scalar-api-client-put-background: #f3830e1a;
1296
-
1297
- /** TODO: Go through the following variables and check what they do */
1298
- --scalar-api-client-color2: green;
1299
- --scalar-api-client-bg3: purple;
1300
- --scalar-api-client-gradient: linear-gradient(180deg, black 0%, black 100%);
1237
+ --app-header-height: 50px;
1238
+ --theme-border-width: 1px;
1239
+ --theme-radius: 3px;
1240
+ --theme-radius-lg: 6px;
1241
+ --theme-radius-xl: 8px;
1242
+
1243
+ --theme-header-height: 50px;
1244
+ --theme-sidebar-width: 250px;
1245
+ --theme-toc-width: 250px;
1246
+
1247
+ /* TYPOGRAPHY ------------------------------------ */
1248
+ --theme-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
1249
+ Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
1250
+ --theme-font-code: 'JetBrains Mono';
1251
+
1252
+ /** Font sizes for rendered text content (editor styles or static content) */
1253
+ --theme-heading-1: 40px; /* Editor Page heading */
1254
+ --theme-page-description: 24px;
1255
+ --theme-heading-2: 24px; /* Editor section headings */
1256
+ --theme-heading-3: 20px;
1257
+ --theme-heading-4: 16px;
1258
+ --theme-heading-5: 16px;
1259
+ --theme-heading-6: 16px;
1260
+
1261
+ --theme-paragraph: 16px;
1262
+ --theme-small: 14px;
1263
+ --theme-mini: 13px;
1264
+ --theme-micro: 12px;
1265
+ --theme-bold: 600;
1266
+ --theme-semibold: 500;
1267
+ --theme-regular: 400;
1268
+
1269
+ /* Font sizes for interactive applications (not rendered text content) */
1270
+ --theme-font-size-1: 24px;
1271
+ --theme-font-size-2: 16px;
1272
+ --theme-font-size-3: 14px;
1273
+ --theme-font-size-4: 13px;
1274
+ --theme-font-size-5: 12px;
1275
+
1276
+ --theme-line-height-1: 32px;
1277
+ --theme-line-height-2: 24px;
1278
+ --theme-line-height-3: 20px;
1279
+ --theme-line-height-4: 18px;
1280
+ --theme-line-height-5: 16px;
1281
+
1282
+ --theme-font-medium: 500;
1283
+ --theme-font-bold: 700;
1284
+ }
1285
+ @media (max-width: 460px) {
1286
+ :root {
1287
+ --theme-font-size-1: 22px;
1288
+ --theme-font-size-2: 14px;
1289
+ --theme-font-size-3: 12px;
1290
+ }
1291
+ }
1292
+ @media (max-width: 720px) {
1293
+ :root {
1294
+ --theme-heading-1: 24px;
1295
+ --theme-page-description: 20px;
1296
+ }
1297
+ }
1298
+ .light-mode {
1299
+ color-scheme: light;
1300
+ --theme-color-1: #2a2f45;
1301
+ --theme-color-2: #757575;
1302
+ --theme-color-3: #8e8e8e;
1303
+ --theme-color-disabled: #b4b1b1;
1304
+ --theme-color-ghost: #a7a7a7;
1305
+ --theme-color-accent: #0099ff;
1306
+ --theme-background-1: #fff;
1307
+ --theme-background-2: #f6f6f6;
1308
+ --theme-background-3: #e7e7e7;
1309
+ --theme-background-4: rgba(0, 0, 0, 0.06);
1310
+ --theme-background-accent: #8ab4f81f;
1311
+
1312
+ --theme-border-color: rgba(0, 0, 0, 0.1);
1313
+ --theme-scrollbar-color: rgba(0, 0, 0, 0.18);
1314
+ --theme-scrollbar-color-active: rgba(0, 0, 0, 0.36);
1315
+ --theme-lifted-brightness: 1;
1316
+ --theme-backdrop-brightness: 1;
1317
+
1318
+ --theme-shadow-1: 0 1px 3px 0 rgba(0, 0, 0, 0.11);
1319
+ --theme-shadow-2: rgba(0, 0, 0, 0.08) 0px 13px 20px 0px,
1320
+ rgba(0, 0, 0, 0.08) 0px 3px 8px 0px, #eeeeed 0px 0 0 1px;
1321
+
1322
+ --theme-button-1: rgb(49 53 56);
1323
+ --theme-button-1-color: #fff;
1324
+ --theme-button-1-hover: rgb(28 31 33);
1325
+
1326
+ --theme-error-color: #ae262f;
1327
+ --theme-warning-color: #d89c6a;
1328
+ --theme-success-color: #26ae42;
1329
+
1330
+ /* REST API Client Colors */
1331
+ --theme-post-color: #00a67d;
1332
+ --theme-post-background: #00a67d1a;
1333
+ --theme-delete-color: #ef0006;
1334
+ --theme-delete-background: #ef00061a;
1335
+ --theme-patch-color: #b2b062;
1336
+ --theme-patch-background: #ffe6001a;
1337
+ --theme-get-color: #0082d0;
1338
+ --theme-get-background: #0082d01a;
1339
+ --theme-put-color: #f3830e;
1340
+ --theme-put-background: #f3830e1a;
1341
+
1342
+ /* Misc Scalar Branding */
1343
+ --scalar-brand: #faf6e9;
1344
+ }
1345
+ .dark-mode {
1346
+ color-scheme: dark;
1347
+ --theme-color-1: rgba(255, 255, 255, 0.9);
1348
+ --theme-color-2: rgba(255, 255, 255, 0.62);
1349
+ --theme-color-3: rgba(255, 255, 255, 0.44);
1350
+ --theme-color-disabled: rgba(255, 255, 255, 0.34);
1351
+ --theme-color-ghost: rgba(255, 255, 255, 0.26);
1352
+ --theme-color-accent: #8ab4f8;
1353
+ --theme-background-1: #1a1a1a;
1354
+ --theme-background-2: #252525;
1355
+ --theme-background-3: #323232;
1356
+ --theme-background-4: rgba(255, 255, 255, 0.06);
1357
+ --theme-background-accent: #8ab4f81f;
1358
+
1359
+ --theme-border-color: rgba(255, 255, 255, 0.1);
1360
+ --theme-scrollbar-color: rgba(255, 255, 255, 0.24);
1361
+ --theme-scrollbar-color-active: rgba(255, 255, 255, 0.48);
1362
+ --theme-lifted-brightness: 1.45;
1363
+ --theme-backdrop-brightness: 0.5;
1364
+
1365
+ --theme-shadow-1: 0 1px 3px 0 rgb(0, 0, 0, 0.1);
1366
+ --theme-shadow-2: rgba(15, 15, 15, 0.2) 0px 3px 6px,
1367
+ rgba(15, 15, 15, 0.4) 0px 9px 24px, 0 0 0 1px rgba(255, 255, 255, 0.1);
1368
+
1369
+ --theme-button-1: #f6f6f6;
1370
+ --theme-button-1-color: #000;
1371
+ --theme-button-1-hover: #e7e7e7;
1372
+
1373
+ --theme-error-color: #ff0011;
1374
+ --theme-success-color: #26ae42;
1375
+
1376
+ /* REST API Client Colors */
1377
+ --theme-post-color: #7ee787;
1378
+ --theme-post-background: #7ee78714;
1379
+ --theme-delete-color: #e77e7e;
1380
+ --theme-delete-background: #e77e7e24;
1381
+ --theme-patch-color: #b2b062;
1382
+ --theme-patch-background: #b2b06229;
1383
+ --theme-get-color: #79c0ff;
1384
+ --theme-get-background: #79c0ff21;
1385
+ --theme-put-color: #e9950c;
1386
+ --theme-put-background: #e9950c21;
1387
+
1388
+ /* Misc Scalar Branding */
1389
+ --scalar-brand: #8b7256;
1301
1390
  }
1302
-
1303
1391
  .scalar-api-client {
1304
- background: var(--scalar-api-client-background-primary);
1392
+ background: var(--theme-background-1);
1305
1393
  position: relative;
1306
1394
  height: 100%;
1307
1395
  overflow: hidden !important;
1308
1396
  display: flex;
1309
1397
  flex-direction: column;
1310
- font-family: var(--scalar-api-client-font-sans);
1398
+ font-family: var(--theme-font);
1311
1399
  }
1312
1400
  @media screen and (max-width: 1000px) {
1313
1401
  .scalar-api-client {
@@ -1315,34 +1403,34 @@ a[data-v-84d41168] {
1315
1403
  }
1316
1404
  }
1317
1405
  .scalar-api-client pre {
1318
- font-family: var(--scalar-api-client-font-mono);
1406
+ font-family: var(--theme-font-code);
1319
1407
  }
1320
1408
  .scalar-api-client--post {
1321
- --scalar-api-client-color: var(--scalar-api-client-post-color);
1322
- --scalar-api-client-background: var(--scalar-api-client-post-background);
1409
+ --scalar-api-client-color: var(--theme-post-color);
1410
+ --scalar-api-client-background: var(--theme-post-background);
1323
1411
  }
1324
1412
  .scalar-api-client--delete {
1325
- --scalar-api-client-color: var(--scalar-api-client-delete-color);
1326
- --scalar-api-client-background: var(--scalar-api-client-delete-background);
1413
+ --scalar-api-client-color: var(--theme-delete-color);
1414
+ --scalar-api-client-background: var(--theme-delete-background);
1327
1415
  }
1328
1416
  .scalar-api-client--patch {
1329
- --scalar-api-client-color: var(--scalar-api-client-patch-color);
1330
- --scalar-api-client-background: var(--scalar-api-client-patch-background);
1417
+ --scalar-api-client-color: var(--theme-patch-color);
1418
+ --scalar-api-client-background: var(--theme-patch-background);
1331
1419
  }
1332
1420
  .scalar-api-client--get {
1333
- --scalar-api-client-color: var(--scalar-api-client-get-color);
1334
- --scalar-api-client-background: var(--scalar-api-client-get-background);
1421
+ --scalar-api-client-color: var(--theme-get-color);
1422
+ --scalar-api-client-background: var(--theme-get-background);
1335
1423
  }
1336
1424
  .scalar-api-client--put {
1337
- --scalar-api-client-color: var(--scalar-api-client-put-color);
1338
- --scalar-api-client-background: var(--scalar-api-client-put-background);
1425
+ --scalar-api-client-color: var(--theme-put-color);
1426
+ --scalar-api-client-background: var(--theme-put-background);
1339
1427
  }
1340
1428
  .scalar-api-client__mobile-navigation {
1341
1429
  padding: 12px 12px 0 12px;
1342
1430
  display: flex;
1343
- font-size: var(--scalar-api-client-text-sm);
1344
- color: var(--scalar-api-client-text-color-secondary);
1345
- font-weight: var(--scalar-api-client-font-bold);
1431
+ font-size: var(--theme-small);
1432
+ color: var(--theme-color-2);
1433
+ font-weight: var(--theme-bold);
1346
1434
  }
1347
1435
  .scalar-api-client__mobile-navigation__toggle {
1348
1436
  appearance: none;
@@ -1350,7 +1438,7 @@ a[data-v-84d41168] {
1350
1438
  cursor: pointer;
1351
1439
  }
1352
1440
  .scalar-api-client__mobile-navigation--active {
1353
- color: var(--scalar-api-client-text-color-primary);
1441
+ color: var(--theme-color-1);
1354
1442
  }
1355
1443
  .scalar-api-client__mobile-navigation--active:hover {
1356
1444
  cursor: pointer;
@@ -1359,8 +1447,8 @@ a[data-v-84d41168] {
1359
1447
  display: flex;
1360
1448
  height: 100%;
1361
1449
  min-height: 0;
1362
- background: var(--scalar-api-client-background-primary);
1363
- border-top: var(--scalar-api-client-border);
1450
+ background: var(--theme-background-1);
1451
+ border-top: 1px solid var(--theme-border-color);
1364
1452
  }
1365
1453
  @media screen and (max-width: 820px) {
1366
1454
  .scalar-api-client__main {
@@ -1371,15 +1459,15 @@ a[data-v-84d41168] {
1371
1459
  /** TODO: Consider to make a Column component */
1372
1460
  .scalar-api-client__main__content {
1373
1461
  padding: 12px;
1374
- background: var(--scalar-api-client-background-primary);
1462
+ background: var(--theme-background-1);
1375
1463
  top: 0;
1376
1464
  position: sticky;
1377
1465
  z-index: 100;
1378
1466
  }
1379
1467
  .scalar-api-client__main__content label {
1380
- font-size: var(--scalar-api-client-text-sm);
1381
- color: var(--scalar-api-client-text-color-primary);
1382
- font-weight: var(--scalar-api-client-font-bold);
1468
+ font-size: var(--theme-small);
1469
+ color: var(--theme-color-1);
1470
+ font-weight: var(--theme-bold);
1383
1471
  display: flex;
1384
1472
  align-items: center;
1385
1473
  }
@@ -1393,12 +1481,12 @@ a[data-v-84d41168] {
1393
1481
  }
1394
1482
  .meta {
1395
1483
  display: flex;
1396
- font-size: var(--scalar-api-client-text-base);
1397
- font-weight: var(--scalar-api-client-text-base);
1484
+ font-size: var(--theme-font-size-2);
1485
+ font-weight: var(--theme-font-size-2);
1398
1486
  color: var(--scalar-api-client-color2);
1399
1487
  }
1400
1488
  .meta-item svg {
1401
- fill: var(--scalar-api-client-fill-icon);
1489
+ fill: var(--theme-color-ghost);
1402
1490
  height: 14px;
1403
1491
  width: 14px;
1404
1492
  margin-right: 6px;
@@ -1408,9 +1496,9 @@ a[data-v-84d41168] {
1408
1496
  align-items: center;
1409
1497
  margin-right: 12px;
1410
1498
  white-space: nowrap;
1411
- font-weight: var(--scalar-api-client-font-bold);
1499
+ font-weight: var(--theme-bold);
1412
1500
  font-size: 12px;
1413
- color: var(--scalar-api-client-text-color-muted);
1501
+ color: var(--theme-color-disabled);
1414
1502
  padding: 3px 0;
1415
1503
  }
1416
1504
  .meta-item__input {
@@ -1439,75 +1527,10 @@ a[data-v-84d41168] {
1439
1527
  margin-top: 12px;
1440
1528
  font-size: 24px;
1441
1529
  }
1442
- .types-item {
1443
- font-weight: var(--scalar-api-client-font-bold);
1444
- font-size: var(--scalar-api-client-text-lg);
1445
- color: var(--scalar-api-client-color2);
1446
- background: var(--scalar-api-client-bg3);
1447
- padding: 9px 18px;
1448
- margin: 6px;
1449
- border-radius: 30px;
1450
- }
1451
- .types-item:hover {
1452
- box-shadow: 0 0 0 1px var(--scalar-api-client-border-color);
1453
- background: var(--scalar-api-client-gradient);
1454
- color: var(--scalar-api-client-text-color-primary);
1455
- cursor: pointer;
1456
- }
1457
1530
  .scalar-api-client__empty-state {
1458
- border: 1px dashed var(--scalar-api-client-border-color);
1531
+ border: 1px dashed var(--theme-border-color);
1459
1532
  width: 100%;
1460
1533
  text-align: center;
1461
- font-size: var(--scalar-api-client-text-sm);
1534
+ font-size: var(--theme-small);
1462
1535
  padding: 20px;
1463
1536
  }
1464
- :root {
1465
- /** Colors */
1466
- --scalar-api-client-background-primary: #fff;
1467
- --scalar-api-client-background-secondary: #f6f6f6;
1468
- --scalar-api-client-background-input: #fff;
1469
- --scalar-api-client-background-muted: #e7e7e7;
1470
- --scalar-api-client-border-color: #dee2e6;
1471
- --scalar-api-client-fill-icon: #212529;
1472
-
1473
- /** Borders */
1474
- --scalar-api-client-border: 1px solid #dee2e6;
1475
- --scalar-api-client-rounded: 4px;
1476
-
1477
- /** Fonts */
1478
- --scalar-api-client-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
1479
- Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
1480
- --scalar-api-client-font-mono: 'JetBrains Mono';
1481
-
1482
- /** Font weights */
1483
- --scalar-api-client-font-semibold: 600;
1484
- --scalar-api-client-font-bold: 700;
1485
-
1486
- /** Font colors */
1487
- --scalar-api-client-text-color-primary: #343a40;
1488
- --scalar-api-client-text-color-secondary: #868e96;
1489
- --scalar-api-client-text-color-muted: #868e96;
1490
-
1491
- /** Font sizes */
1492
- --scalar-api-client-text-xs: 12px;
1493
- --scalar-api-client-text-sm: 14px;
1494
- --scalar-api-client-text-base: 16px;
1495
- --scalar-api-client-text-lg: 18px;
1496
-
1497
- /** Request method colors */
1498
- --scalar-api-client-post-color: #00a67d;
1499
- --scalar-api-client-post-background: #00a67d1a;
1500
- --scalar-api-client-delete-color: #ef0006;
1501
- --scalar-api-client-delete-background: #ef00061a;
1502
- --scalar-api-client-patch-color: #b2b062;
1503
- --scalar-api-client-patch-background: #ffe6001a;
1504
- --scalar-api-client-get-color: #0082d0;
1505
- --scalar-api-client-get-background: #0082d01a;
1506
- --scalar-api-client-put-color: #f3830e;
1507
- --scalar-api-client-put-background: #f3830e1a;
1508
-
1509
- /** TODO: Go through the following variables and check what they do */
1510
- --scalar-api-client-color2: green;
1511
- --scalar-api-client-bg3: purple;
1512
- --scalar-api-client-gradient: linear-gradient(180deg, black 0%, black 100%);
1513
- }