@antv/gpt-vis 1.3.0 → 1.3.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.
@@ -0,0 +1,1070 @@
1
+ function createPreset(id, label, description, colors) {
2
+ var options = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : {};
3
+ var _options$dark = options.dark,
4
+ dark = _options$dark === void 0 ? false : _options$dark,
5
+ _options$serif = options.serif,
6
+ serif = _options$serif === void 0 ? false : _options$serif,
7
+ _options$radius = options.radius,
8
+ radius = _options$radius === void 0 ? 6 : _options$radius,
9
+ _options$product = options.product,
10
+ product = _options$product === void 0 ? false : _options$product;
11
+ var fontFamily = serif ? 'Georgia, "Times New Roman", serif' : product ? '-apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif' : 'Alibaba PuHuiTi, sans-serif';
12
+ var inverse = dark ? '#101827' : product ? colors.text : '#ffffff';
13
+ return {
14
+ id: id,
15
+ label: label,
16
+ description: description,
17
+ baseTheme: dark ? 'dark' : serif ? 'academy' : 'default',
18
+ tokens: {
19
+ colorDefault: colors.palette[0],
20
+ colorBackground: colors.background,
21
+ colorSurface: colors.surface,
22
+ colorText: colors.text,
23
+ colorTextSecondary: colors.secondary,
24
+ colorTextInverse: inverse,
25
+ colorStroke: colors.stroke,
26
+ colorPositive: colors.positive,
27
+ colorNegative: colors.negative,
28
+ colorNeutral: colors.secondary,
29
+ category10: colors.palette,
30
+ fontFamily: fontFamily,
31
+ fontSize: 11,
32
+ fontWeight: 400,
33
+ lineHeight: 22,
34
+ spacingSmall: 6,
35
+ spacingMedium: 12,
36
+ lineWidth: serif ? 1 : 2,
37
+ radius: radius
38
+ },
39
+ style: {
40
+ title: {
41
+ titleFontSize: 16,
42
+ titleFontWeight: serif ? 500 : product ? 600 : 700,
43
+ spacing: 5
44
+ },
45
+ axis: {
46
+ line: serif,
47
+ tick: serif,
48
+ gridLineWidth: 0.5,
49
+ gridLineDash: serif ? [2, 3] : [0, 0]
50
+ },
51
+ mark: {
52
+ line: {
53
+ lineCap: serif ? 'butt' : 'round'
54
+ },
55
+ area: {
56
+ shape: serif ? 'area' : 'smooth',
57
+ fillOpacity: serif ? 0.1 : product ? 0.12 : 0.2
58
+ },
59
+ point: {
60
+ size: serif ? 3 : 4,
61
+ shape: serif ? 'hollow' : 'point',
62
+ stroke: colors.background
63
+ },
64
+ interval: {
65
+ stroke: colors.background
66
+ },
67
+ treemap: {
68
+ stroke: colors.background
69
+ },
70
+ liquid: {
71
+ contentFontSize: 28
72
+ },
73
+ sankey: {
74
+ nodeStroke: colors.background,
75
+ nodeLineWidth: 1,
76
+ linkFillOpacity: 0.25
77
+ }
78
+ },
79
+ table: {
80
+ header: {
81
+ backgroundColor: product ? colors.surface : colors.palette[0],
82
+ fill: product ? colors.text : inverse,
83
+ fontWeight: 700
84
+ }
85
+ },
86
+ summary: {
87
+ fontSize: 15,
88
+ lineHeight: 27
89
+ }
90
+ },
91
+ charts: {
92
+ line: {
93
+ style: {
94
+ mark: {
95
+ line: {
96
+ shape: serif ? 'line' : 'smooth'
97
+ }
98
+ }
99
+ }
100
+ },
101
+ area: {
102
+ style: {
103
+ mark: {
104
+ line: {
105
+ shape: serif ? 'line' : 'smooth'
106
+ }
107
+ }
108
+ }
109
+ },
110
+ pie: {
111
+ style: {
112
+ mark: {
113
+ interval: {
114
+ stroke: colors.background,
115
+ lineWidth: 3
116
+ }
117
+ }
118
+ }
119
+ },
120
+ radar: {
121
+ style: {
122
+ mark: {
123
+ line: {
124
+ shape: 'line'
125
+ }
126
+ }
127
+ }
128
+ }
129
+ }
130
+ };
131
+ }
132
+
133
+ /** Named themes shared by the SDK and website. Legacy base themes remain unchanged. */
134
+ export var THEME_PRESETS = [createPreset('gpt-vis', 'GPT-Vis', 'Clear, expressive, and ready for your next idea.', {
135
+ background: '#ffffff',
136
+ surface: '#f5f3ff',
137
+ text: '#23272f',
138
+ secondary: '#626478',
139
+ stroke: '#d9d7e6',
140
+ palette: ['#7047eb', '#3b9bb7', '#f0af54', '#e87787', '#6baa8f', '#a68ae0', '#cf8253', '#6379b9', '#a99b53', '#8b94a5'],
141
+ positive: '#278160',
142
+ negative: '#c64d64'
143
+ }), createPreset('midnight', 'Midnight', 'Luminous data. A quieter kind of dark.', {
144
+ background: '#141b2b',
145
+ surface: '#1d283b',
146
+ text: '#edf2fa',
147
+ secondary: '#a8b8d0',
148
+ stroke: '#3b4a65',
149
+ palette: ['#a99aff', '#6fd3de', '#edbd76', '#ee93ae', '#8bd3a8', '#77a8ef', '#d4a2e8', '#c7d989', '#f0a888', '#a6b9d0'],
150
+ positive: '#8bd3a8',
151
+ negative: '#ee93ae'
152
+ }, {
153
+ dark: true
154
+ }), createPreset('paper', 'Paper', 'Thoughtful typography for considered research.', {
155
+ background: '#fcfbf8',
156
+ surface: '#f2efe8',
157
+ text: '#302f2b',
158
+ secondary: '#706b60',
159
+ stroke: '#d8d2c6',
160
+ palette: ['#486b86', '#a45e4a', '#819272', '#b89650', '#867394', '#5f9697', '#c08773', '#8b929c', '#aa8c7b', '#71875e'],
161
+ positive: '#547a4d',
162
+ negative: '#ad4d47'
163
+ }, {
164
+ serif: true,
165
+ radius: 0
166
+ }), createPreset('product', 'Product', 'Fresh sky blue, soft surfaces, and a modern product feel.', {
167
+ background: '#f8fcff',
168
+ surface: '#e8f4fd',
169
+ text: '#17324d',
170
+ secondary: '#526e85',
171
+ stroke: '#c8dfef',
172
+ palette: ['#38bdf8', '#3b82f6', '#2dd4bf', '#818cf8', '#fbbf24', '#f472b6', '#4ade80', '#22d3ee', '#a5b4fc', '#94a3b8'],
173
+ positive: '#15803d',
174
+ negative: '#be123c'
175
+ }, {
176
+ product: true,
177
+ radius: 12
178
+ }), {
179
+ id: 'neon-circuit',
180
+ label: 'Neon Circuit',
181
+ description: 'Midnight circuitry, electric cyan, hot magenta, and precise monospace type.',
182
+ baseTheme: 'dark',
183
+ tokens: {
184
+ colorDefault: '#22d3ee',
185
+ colorBackground: '#080d1a',
186
+ colorSurface: '#111c30',
187
+ colorText: '#e8f6ff',
188
+ colorTextSecondary: '#a4b8d0',
189
+ colorTextInverse: '#080d1a',
190
+ colorStroke: '#415977',
191
+ colorPositive: '#4ade80',
192
+ colorNegative: '#fb7185',
193
+ colorNeutral: '#a4b8d0',
194
+ category10: ['#22d3ee', '#f472b6', '#a3e635', '#a78bfa', '#facc15', '#60a5fa', '#fb923c', '#2dd4bf', '#fb7185', '#c4b5fd'],
195
+ category20: ['#22d3ee', '#f472b6', '#a3e635', '#a78bfa', '#facc15', '#60a5fa', '#fb923c', '#2dd4bf', '#fb7185', '#c4b5fd', '#67e8f9', '#f9a8d4', '#bef264', '#c084fc', '#fde68a', '#93c5fd', '#fdba74', '#5eead4', '#fda4af', '#e9d5ff'],
196
+ fontFamily: '"SFMono-Regular", Consolas, "Liberation Mono", monospace',
197
+ fontSize: 11,
198
+ fontWeight: 500,
199
+ lineHeight: 20,
200
+ spacingSmall: 6,
201
+ spacingMedium: 12,
202
+ lineWidth: 2,
203
+ radius: 2
204
+ },
205
+ style: {
206
+ title: {
207
+ titleFontWeight: 700,
208
+ spacing: 6
209
+ },
210
+ axis: {
211
+ line: true,
212
+ tick: false,
213
+ gridLineWidth: 0.5,
214
+ gridLineDash: [2, 4]
215
+ },
216
+ mark: {
217
+ line: {
218
+ shape: 'hv',
219
+ lineCap: 'square'
220
+ },
221
+ area: {
222
+ shape: 'hv',
223
+ fillOpacity: 0.22
224
+ },
225
+ point: {
226
+ shape: 'diamond',
227
+ size: 4,
228
+ stroke: '#080d1a'
229
+ },
230
+ interval: {
231
+ stroke: '#080d1a'
232
+ },
233
+ treemap: {
234
+ stroke: '#080d1a'
235
+ },
236
+ liquid: {
237
+ shape: 'rect',
238
+ contentFontSize: 30,
239
+ contentFontWeight: 700
240
+ },
241
+ sankey: {
242
+ linkFillOpacity: 0.35,
243
+ nodeStroke: '#080d1a',
244
+ linkLineWidth: 0
245
+ }
246
+ },
247
+ node: {
248
+ fillOpacity: 0.16,
249
+ stroke: '#22d3ee',
250
+ labelFill: '#e8f6ff'
251
+ },
252
+ edge: {
253
+ stroke: '#7898bc',
254
+ lineDash: [4, 3]
255
+ },
256
+ table: {
257
+ header: {
258
+ fill: '#22d3ee',
259
+ backgroundColor: '#172640',
260
+ fontWeight: 700
261
+ }
262
+ },
263
+ summary: {
264
+ fontSize: 14,
265
+ lineHeight: 25,
266
+ colorHeadingBase: '#22d3ee',
267
+ colorMetricValue: '#f472b6'
268
+ }
269
+ },
270
+ charts: {
271
+ area: {
272
+ style: {
273
+ mark: {
274
+ line: {
275
+ shape: 'hv'
276
+ }
277
+ }
278
+ }
279
+ },
280
+ radar: {
281
+ style: {
282
+ mark: {
283
+ line: {
284
+ shape: 'line'
285
+ }
286
+ }
287
+ }
288
+ },
289
+ pie: {
290
+ style: {
291
+ mark: {
292
+ interval: {
293
+ radius: 0,
294
+ lineWidth: 3
295
+ }
296
+ }
297
+ }
298
+ },
299
+ 'network-graph': {
300
+ style: {
301
+ node: {
302
+ type: 'hexagon'
303
+ },
304
+ edge: {
305
+ type: 'line'
306
+ }
307
+ }
308
+ }
309
+ }
310
+ }, {
311
+ id: 'terra-print',
312
+ label: 'Terra Print',
313
+ description: 'Warm paper, terracotta ink, serif headlines, and crisp print-like geometry.',
314
+ baseTheme: 'academy',
315
+ tokens: {
316
+ colorDefault: '#a33b28',
317
+ colorBackground: '#fff7e8',
318
+ colorSurface: '#f3e5cf',
319
+ colorText: '#36291f',
320
+ colorTextSecondary: '#75624f',
321
+ colorTextInverse: '#fff7e8',
322
+ colorStroke: '#c9b79b',
323
+ colorPositive: '#466343',
324
+ colorNegative: '#a33b28',
325
+ colorNeutral: '#75624f',
326
+ category10: ['#a33b28', '#426459', '#8e681e', '#695075', '#335975', '#a54d60', '#6b7040', '#805039', '#4c6675', '#775641'],
327
+ fontFamily: 'Georgia, "Times New Roman", serif',
328
+ fontSize: 12,
329
+ fontWeight: 400,
330
+ lineHeight: 23,
331
+ spacingSmall: 5,
332
+ spacingMedium: 12,
333
+ lineWidth: 1,
334
+ radius: 0
335
+ },
336
+ style: {
337
+ title: {
338
+ titleFontSize: 19,
339
+ titleFontWeight: 700,
340
+ titleFill: '#a33b28',
341
+ spacing: 7
342
+ },
343
+ axis: {
344
+ line: true,
345
+ tick: true,
346
+ gridLineDash: [2, 4],
347
+ gridLineWidth: 0.5
348
+ },
349
+ mark: {
350
+ line: {
351
+ lineWidth: 2,
352
+ lineCap: 'butt'
353
+ },
354
+ area: {
355
+ shape: 'area',
356
+ fillOpacity: 0.13
357
+ },
358
+ point: {
359
+ shape: 'hollowCircle',
360
+ size: 4,
361
+ lineWidth: 1.5
362
+ },
363
+ interval: {
364
+ stroke: '#fff7e8',
365
+ lineWidth: 1
366
+ },
367
+ treemap: {
368
+ stroke: '#fff7e8',
369
+ lineWidth: 2
370
+ },
371
+ liquid: {
372
+ shape: 'rect',
373
+ contentFontSize: 30,
374
+ contentFontWeight: 700
375
+ },
376
+ sankey: {
377
+ nodeStroke: '#fff7e8',
378
+ linkFillOpacity: 0.25
379
+ }
380
+ },
381
+ node: {
382
+ fillOpacity: 0.18,
383
+ stroke: '#a33b28',
384
+ labelFill: '#36291f'
385
+ },
386
+ edge: {
387
+ stroke: '#937b62',
388
+ lineWidth: 1
389
+ },
390
+ table: {
391
+ header: {
392
+ backgroundColor: '#a33b28',
393
+ fill: '#fff7e8',
394
+ fontWeight: 700
395
+ },
396
+ cell: {
397
+ backgroundColor: '#fff7e8',
398
+ padding: [10, 12]
399
+ },
400
+ border: {
401
+ color: '#b7a081',
402
+ width: 1,
403
+ radius: 0
404
+ }
405
+ },
406
+ summary: {
407
+ fontSize: 15,
408
+ lineHeight: 28,
409
+ colorHeadingBase: '#a33b28'
410
+ }
411
+ },
412
+ charts: {
413
+ line: {
414
+ style: {
415
+ mark: {
416
+ line: {
417
+ shape: 'line'
418
+ }
419
+ }
420
+ }
421
+ },
422
+ area: {
423
+ style: {
424
+ mark: {
425
+ line: {
426
+ shape: 'line'
427
+ }
428
+ }
429
+ }
430
+ },
431
+ pie: {
432
+ style: {
433
+ mark: {
434
+ interval: {
435
+ lineWidth: 3
436
+ }
437
+ }
438
+ }
439
+ },
440
+ 'network-graph': {
441
+ style: {
442
+ node: {
443
+ type: 'rect'
444
+ },
445
+ edge: {
446
+ type: 'line'
447
+ }
448
+ }
449
+ },
450
+ 'fishbone-diagram': {
451
+ style: {
452
+ texture: 'rough'
453
+ }
454
+ }
455
+ }
456
+ }, {
457
+ id: 'mono-signal',
458
+ label: 'Mono Signal',
459
+ description: 'Black ink, white space, monospaced detail, and precise technical outlines.',
460
+ baseTheme: 'default',
461
+ tokens: {
462
+ colorDefault: '#18181b',
463
+ colorBackground: '#ffffff',
464
+ colorSurface: '#f4f4f5',
465
+ colorText: '#18181b',
466
+ colorTextSecondary: '#62626a',
467
+ colorTextInverse: '#ffffff',
468
+ colorStroke: '#b4b4bc',
469
+ colorPositive: '#28704a',
470
+ colorNegative: '#b33737',
471
+ colorNeutral: '#62626a',
472
+ category10: ['#18181b', '#64748b', '#404040', '#737373', '#334155', '#52525b', '#475569', '#71717a', '#3f3f46', '#78716c'],
473
+ fontFamily: '"SFMono-Regular", Consolas, "Liberation Mono", monospace',
474
+ fontSize: 11,
475
+ fontWeight: 400,
476
+ lineHeight: 21,
477
+ spacingSmall: 4,
478
+ spacingMedium: 10,
479
+ lineWidth: 1,
480
+ radius: 0
481
+ },
482
+ style: {
483
+ title: {
484
+ titleFontSize: 16,
485
+ titleFontWeight: 700,
486
+ spacing: 8
487
+ },
488
+ axis: {
489
+ line: true,
490
+ tick: true,
491
+ grid: false,
492
+ tickLength: 3
493
+ },
494
+ legend: {
495
+ itemMarkerSize: 7,
496
+ itemLabelFontSize: 10
497
+ },
498
+ mark: {
499
+ line: {
500
+ shape: 'hv',
501
+ lineWidth: 1.5,
502
+ lineCap: 'square'
503
+ },
504
+ area: {
505
+ shape: 'hv',
506
+ fillOpacity: 0.12
507
+ },
508
+ point: {
509
+ shape: 'hollowSquare',
510
+ size: 4,
511
+ lineWidth: 1.5
512
+ },
513
+ interval: {
514
+ stroke: '#ffffff',
515
+ lineWidth: 1
516
+ },
517
+ treemap: {
518
+ stroke: '#ffffff',
519
+ lineWidth: 2
520
+ },
521
+ liquid: {
522
+ shape: 'rect',
523
+ contentFontSize: 28
524
+ },
525
+ sankey: {
526
+ linkFillOpacity: 0.18,
527
+ nodeStroke: '#ffffff'
528
+ }
529
+ },
530
+ node: {
531
+ fillOpacity: 0.12,
532
+ stroke: '#18181b',
533
+ lineWidth: 1.5
534
+ },
535
+ edge: {
536
+ stroke: '#71717a',
537
+ lineDash: [3, 3],
538
+ lineWidth: 1
539
+ },
540
+ table: {
541
+ header: {
542
+ backgroundColor: '#18181b',
543
+ fill: '#ffffff',
544
+ fontWeight: 700
545
+ },
546
+ cell: {
547
+ backgroundColor: '#ffffff',
548
+ padding: [9, 10]
549
+ },
550
+ border: {
551
+ color: '#18181b',
552
+ width: 1,
553
+ radius: 0
554
+ }
555
+ },
556
+ summary: {
557
+ fontSize: 13,
558
+ lineHeight: 25,
559
+ colorHeadingBase: '#18181b'
560
+ }
561
+ },
562
+ charts: {
563
+ area: {
564
+ style: {
565
+ mark: {
566
+ line: {
567
+ shape: 'hv'
568
+ }
569
+ }
570
+ }
571
+ },
572
+ radar: {
573
+ style: {
574
+ mark: {
575
+ line: {
576
+ shape: 'line'
577
+ }
578
+ }
579
+ }
580
+ },
581
+ pie: {
582
+ style: {
583
+ mark: {
584
+ interval: {
585
+ lineWidth: 3
586
+ }
587
+ }
588
+ }
589
+ },
590
+ 'network-graph': {
591
+ style: {
592
+ node: {
593
+ type: 'diamond'
594
+ },
595
+ edge: {
596
+ type: 'line'
597
+ }
598
+ }
599
+ }
600
+ }
601
+ }, {
602
+ id: 'candy-pop',
603
+ label: 'Candy Pop',
604
+ description: 'Candy colors, bold outlines, rounded bars, and playful geometric details.',
605
+ baseTheme: 'default',
606
+ tokens: {
607
+ colorDefault: '#f6a3cb',
608
+ colorBackground: '#fff9f1',
609
+ colorSurface: '#fff0db',
610
+ colorText: '#292440',
611
+ colorTextSecondary: '#706079',
612
+ colorTextInverse: '#292440',
613
+ colorStroke: '#b4a3b9',
614
+ colorPositive: '#28704a',
615
+ colorNegative: '#b33753',
616
+ colorNeutral: '#706079',
617
+ category10: ['#f6a3cb', '#8dc9f5', '#f6d766', '#a9deb2', '#c3b0ed', '#f5b58a', '#86d8d1', '#d5cc89', '#b3c0f3', '#e8b6db'],
618
+ fontFamily: '"Trebuchet MS", "Arial Rounded MT Bold", Arial, sans-serif',
619
+ fontSize: 12,
620
+ fontWeight: 500,
621
+ lineHeight: 23,
622
+ spacingSmall: 6,
623
+ spacingMedium: 12,
624
+ lineWidth: 2,
625
+ radius: 14
626
+ },
627
+ style: {
628
+ title: {
629
+ titleFontSize: 18,
630
+ titleFontWeight: 800,
631
+ spacing: 6
632
+ },
633
+ axis: {
634
+ line: false,
635
+ tick: false,
636
+ gridLineDash: [2, 5],
637
+ gridLineWidth: 0.75
638
+ },
639
+ mark: {
640
+ line: {
641
+ shape: 'smooth',
642
+ lineWidth: 3,
643
+ lineCap: 'round'
644
+ },
645
+ area: {
646
+ shape: 'smooth',
647
+ fillOpacity: 0.35
648
+ },
649
+ point: {
650
+ shape: 'triangle',
651
+ size: 5,
652
+ stroke: '#292440',
653
+ lineWidth: 1.5
654
+ },
655
+ interval: {
656
+ stroke: '#292440',
657
+ lineWidth: 1.5
658
+ },
659
+ treemap: {
660
+ stroke: '#292440',
661
+ lineWidth: 1.5,
662
+ radius: 8
663
+ },
664
+ liquid: {
665
+ shape: 'circle',
666
+ contentFill: '#292440',
667
+ contentFontSize: 32
668
+ },
669
+ sankey: {
670
+ nodeStroke: '#292440',
671
+ nodeLineWidth: 1.5,
672
+ linkFillOpacity: 0.45
673
+ }
674
+ },
675
+ node: {
676
+ fillOpacity: 1,
677
+ stroke: '#292440',
678
+ labelFill: '#292440',
679
+ lineWidth: 2
680
+ },
681
+ edge: {
682
+ stroke: '#7c6d91',
683
+ lineWidth: 2
684
+ },
685
+ table: {
686
+ header: {
687
+ backgroundColor: '#f6a3cb',
688
+ fill: '#292440',
689
+ fontWeight: 700
690
+ },
691
+ cell: {
692
+ backgroundColor: '#fff9f1',
693
+ padding: [10, 12]
694
+ },
695
+ border: {
696
+ color: '#292440',
697
+ width: 2,
698
+ radius: 14
699
+ }
700
+ },
701
+ summary: {
702
+ fontSize: 15,
703
+ lineHeight: 28,
704
+ colorHeadingBase: '#292440',
705
+ colorMetricValue: '#87406e'
706
+ }
707
+ },
708
+ charts: {
709
+ area: {
710
+ style: {
711
+ mark: {
712
+ line: {
713
+ shape: 'smooth'
714
+ }
715
+ }
716
+ }
717
+ },
718
+ radar: {
719
+ style: {
720
+ mark: {
721
+ line: {
722
+ shape: 'line'
723
+ }
724
+ }
725
+ }
726
+ },
727
+ pie: {
728
+ style: {
729
+ mark: {
730
+ interval: {
731
+ radius: 5,
732
+ lineWidth: 2
733
+ }
734
+ }
735
+ }
736
+ },
737
+ 'network-graph': {
738
+ style: {
739
+ node: {
740
+ type: 'hexagon'
741
+ },
742
+ edge: {
743
+ type: 'quadratic'
744
+ }
745
+ }
746
+ }
747
+ }
748
+ }, {
749
+ // Adapted from Flint Chart. Copyright (c) Microsoft Corporation. MIT License.
750
+ // See the license notice at the top of this file.
751
+ // Visual reference: https://github.com/microsoft/flint-chart/blob/main/packages/flint-js/src/core/theme/presets/pop.ts
752
+ // Adapted to GPT-Vis appearance fields, including relationship graphs, Table and Summary.
753
+ id: 'pop',
754
+ label: 'Pop',
755
+ description: 'Warm white, vivid contrasting colors, yellow accents, heavy black outlines, and bold display type.',
756
+ baseTheme: 'default',
757
+ tokens: {
758
+ colorDefault: '#f04493',
759
+ colorBackground: '#fffdf5',
760
+ colorSurface: '#fff5cf',
761
+ colorText: '#111111',
762
+ colorTextSecondary: '#5f0047',
763
+ colorTextInverse: '#fffdf5',
764
+ colorStroke: '#111111',
765
+ colorPositive: '#166534',
766
+ colorNegative: '#a90055',
767
+ colorNeutral: '#111111',
768
+ category10: ['#ff6aaf', '#42cbe8', '#ff9752', '#b49aee', '#78ce93', '#f4d449'],
769
+ fontFamily: '"Arial Black", "Helvetica Neue", Arial, sans-serif',
770
+ fontSize: 11,
771
+ fontWeight: 700,
772
+ lineHeight: 22,
773
+ spacingSmall: 7,
774
+ spacingMedium: 12,
775
+ lineWidth: 3,
776
+ radius: 0
777
+ },
778
+ style: {
779
+ title: {
780
+ titleFontSize: 21,
781
+ titleFontWeight: 900,
782
+ titleFill: '#111111',
783
+ spacing: 8
784
+ },
785
+ axis: {
786
+ line: true,
787
+ lineLineWidth: 3,
788
+ tick: false,
789
+ gridStroke: '#ddd7c9',
790
+ gridLineWidth: 0.5,
791
+ gridLineDash: [0, 0]
792
+ },
793
+ legend: {
794
+ itemMarkerSize: 9,
795
+ itemLabelFontWeight: 700
796
+ },
797
+ mark: {
798
+ line: {
799
+ shape: 'line',
800
+ lineWidth: 6,
801
+ lineCap: 'square',
802
+ lineJoin: 'miter'
803
+ },
804
+ area: {
805
+ shape: 'area',
806
+ fillOpacity: 0.25
807
+ },
808
+ point: {
809
+ shape: 'point',
810
+ size: 6,
811
+ stroke: '#111111',
812
+ lineWidth: 2
813
+ },
814
+ interval: {
815
+ stroke: '#111111',
816
+ lineWidth: 3,
817
+ radius: 0
818
+ },
819
+ treemap: {
820
+ stroke: '#111111',
821
+ lineWidth: 3,
822
+ radius: 0
823
+ },
824
+ liquid: {
825
+ shape: 'rect',
826
+ contentFill: '#111111',
827
+ contentFontSize: 36,
828
+ contentFontWeight: 900
829
+ },
830
+ sankey: {
831
+ linkFillOpacity: 0.75,
832
+ nodeStroke: '#111111',
833
+ nodeLineWidth: 3
834
+ }
835
+ },
836
+ node: {
837
+ fillOpacity: 1,
838
+ stroke: '#111111',
839
+ labelFill: '#111111',
840
+ lineWidth: 3
841
+ },
842
+ edge: {
843
+ stroke: '#111111',
844
+ lineWidth: 3
845
+ },
846
+ table: {
847
+ header: {
848
+ backgroundColor: '#f4d449',
849
+ fill: '#111111',
850
+ fontWeight: 900
851
+ },
852
+ cell: {
853
+ backgroundColor: '#fffdf5',
854
+ padding: [10, 12]
855
+ },
856
+ border: {
857
+ color: '#111111',
858
+ width: 3,
859
+ radius: 0
860
+ }
861
+ },
862
+ summary: {
863
+ fontSize: 15,
864
+ lineHeight: 28,
865
+ colorHeadingBase: '#111111',
866
+ colorMetricValue: '#a90055'
867
+ }
868
+ },
869
+ charts: {
870
+ line: {
871
+ style: {
872
+ mark: {
873
+ line: {
874
+ shape: 'line'
875
+ }
876
+ }
877
+ }
878
+ },
879
+ area: {
880
+ style: {
881
+ mark: {
882
+ line: {
883
+ shape: 'line'
884
+ }
885
+ }
886
+ }
887
+ },
888
+ pie: {
889
+ style: {
890
+ mark: {
891
+ interval: {
892
+ radius: 0,
893
+ stroke: '#111111',
894
+ lineWidth: 3
895
+ }
896
+ }
897
+ }
898
+ },
899
+ 'network-graph': {
900
+ style: {
901
+ node: {
902
+ type: 'rect'
903
+ },
904
+ edge: {
905
+ type: 'line'
906
+ }
907
+ }
908
+ }
909
+ }
910
+ }, {
911
+ id: 'bauhaus',
912
+ label: 'Bauhaus',
913
+ description: 'Bold primary colors, sharp geometry, black outlines, and confident sans-serif typography.',
914
+ baseTheme: 'default',
915
+ tokens: {
916
+ colorDefault: '#2055c9',
917
+ colorBackground: '#ffffff',
918
+ colorSurface: '#f2f1ed',
919
+ colorText: '#191919',
920
+ colorTextSecondary: '#595954',
921
+ colorTextInverse: '#ffffff',
922
+ colorStroke: '#c9c9c2',
923
+ colorPositive: '#24754b',
924
+ colorNegative: '#bd3434',
925
+ colorNeutral: '#595954',
926
+ category10: ['#2055c9', '#d43c30', '#b78100', '#252525', '#287b66', '#8154a2', '#b95120', '#4f758a'],
927
+ fontFamily: 'Arial, sans-serif',
928
+ fontSize: 11,
929
+ fontWeight: 500,
930
+ lineHeight: 21,
931
+ spacingSmall: 6,
932
+ spacingMedium: 12,
933
+ lineWidth: 1.5,
934
+ radius: 0
935
+ },
936
+ style: {
937
+ title: {
938
+ titleFontSize: 20,
939
+ titleFontWeight: 700,
940
+ spacing: 6
941
+ },
942
+ axis: {
943
+ gridLineWidth: 0.5,
944
+ line: true,
945
+ lineStroke: '#292929',
946
+ lineLineWidth: 1,
947
+ tick: true,
948
+ tickLength: 4,
949
+ gridStroke: '#deded8',
950
+ gridLineDash: [0, 0]
951
+ },
952
+ legend: {
953
+ itemMarkerSize: 9,
954
+ itemSpacing: [6, 6, 3]
955
+ },
956
+ mark: {
957
+ line: {
958
+ shape: 'line',
959
+ lineWidth: 3,
960
+ lineCap: 'butt',
961
+ lineJoin: 'miter'
962
+ },
963
+ area: {
964
+ shape: 'area',
965
+ fillOpacity: 0.16
966
+ },
967
+ point: {
968
+ shape: 'square',
969
+ size: 4,
970
+ stroke: '#191919',
971
+ lineWidth: 1
972
+ },
973
+ interval: {
974
+ stroke: '#191919',
975
+ lineWidth: 1,
976
+ fillOpacity: 1
977
+ },
978
+ treemap: {
979
+ stroke: '#ffffff',
980
+ lineWidth: 3,
981
+ radius: 0
982
+ },
983
+ liquid: {
984
+ shape: 'rect',
985
+ contentFill: '#191919',
986
+ contentFontSize: 32,
987
+ contentFontWeight: 700,
988
+ outlineStroke: '#191919',
989
+ outlineBorder: 2
990
+ },
991
+ sankey: {
992
+ nodeStroke: '#191919',
993
+ nodeLineWidth: 1,
994
+ linkFillOpacity: 0.3
995
+ }
996
+ },
997
+ node: {
998
+ fillOpacity: 0.14,
999
+ labelFill: '#191919',
1000
+ stroke: '#191919',
1001
+ lineWidth: 1.5,
1002
+ labelFontWeight: 600
1003
+ },
1004
+ edge: {
1005
+ stroke: '#595954',
1006
+ lineWidth: 1.5
1007
+ },
1008
+ table: {
1009
+ header: {
1010
+ backgroundColor: '#2055c9',
1011
+ fill: '#ffffff',
1012
+ fontWeight: 700
1013
+ },
1014
+ cell: {
1015
+ backgroundColor: '#ffffff',
1016
+ padding: [9, 12],
1017
+ lineHeight: 20
1018
+ },
1019
+ border: {
1020
+ color: '#191919',
1021
+ width: 1.5,
1022
+ style: 'solid',
1023
+ radius: 0
1024
+ }
1025
+ },
1026
+ summary: {
1027
+ fontSize: 14,
1028
+ lineHeight: 26,
1029
+ colorHeadingBase: '#191919',
1030
+ colorMetricValue: '#2055c9'
1031
+ }
1032
+ },
1033
+ charts: {
1034
+ radar: {
1035
+ style: {
1036
+ mark: {
1037
+ line: {
1038
+ shape: 'line'
1039
+ }
1040
+ }
1041
+ }
1042
+ },
1043
+ waterfall: {
1044
+ style: {
1045
+ palette: ['#24754b', '#bd3434', '#2055c9']
1046
+ }
1047
+ },
1048
+ pie: {
1049
+ style: {
1050
+ mark: {
1051
+ interval: {
1052
+ stroke: '#ffffff',
1053
+ lineWidth: 3,
1054
+ radius: 0
1055
+ }
1056
+ }
1057
+ }
1058
+ },
1059
+ 'network-graph': {
1060
+ style: {
1061
+ node: {
1062
+ type: 'rect'
1063
+ },
1064
+ edge: {
1065
+ type: 'line'
1066
+ }
1067
+ }
1068
+ }
1069
+ }
1070
+ }];